On Sat, Nov 25, 2006 at 02:38:48PM +0100, Jakub Bogusz wrote: > We stopped experiencing such problems since dropping "-s" from > rpmldflags, but now it hits again: > > $ mysql_config --libs > -Wl,--as-needed -L/usr/lib -lmysqlclient -lz -lm -L/usr/lib -lssl -lcrypto > > $ pg_config --ldflags > -Wl,--as-needed > > ...and so on.
Well, I've got some *-config and I've found "-Wl,--as-needed" string in only one of them: nspr, which does not display it anyway. > It shouldn't be propagated by all *-config scripts --{libs,ldflags} > options. Of source it shouldn't, but I see no general solution for it, those *-config files may be shell code, python, C binary and probably more kind of things. So, each of them has to be treated separately. -- ____ Sparky{PI] -- Przemyslaw _ ___ _ _ ........... LANG...Pl..Ca..Es..En /____) ___ ___ _ _ || Iskra | | _ \| | | : WWW........ppcrcd.pld-linux.org \____\| -_)'___| ||^'||//\\// < | _/| | | : JID......sparky<at>jabberes.org (____/|| (_-_|_|| ||\\ || |_ |_| |_| _| : Mail....sparky<at>pld-linux.org _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en