Hi Josselin, * Josselin Mouette wrote on Wed, Jan 11, 2006 at 09:59:57PM CET: > > It looks like libtool likes, when building libraries, to reorder > arguments:
Well, yes. It move all the options away from the libraries + library flags. GNU libtool plans to lift this restriction, but it unfortunately costs quite some rework. :-/ > When linking this module (this can be found in the control-center build logs): > /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wextra -Wl,-O1 > -Wl,--as-needed -o libtheme-method.la -rpath > /usr/local/lib/gnome-vfs-2.0/modules -module -avoid-version > -export-symbols-regex 'vfs_module_.*' theme-method.lo -pthread -lgnomevfs-2 > -lbonobo-2 -lgconf-2 -lgobject-2.0 -lbonobo-activation -lORBit-2 -lm > -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 ../../capplets/common/libcommon.la > > libtool then runs: [ -Wl,--as-needed very late in the command line ] > I don't know for other options, but --as-needed doesn't work if > specified after the libraries. Ouch. I did not know that either. Having this appear early should be doable (much easier than allowing general option interspersed with libraries), but.. > The following version (which was used for GNOME 2.10) isn't affected: > VERSION=1.5.6 > TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42)" Now this strikes me as strange. I don't remember all development from 1.5.6 on; it would make my life easier if you could run ../../libtool --debug ... for both versions and post the output (packed), together with .../libtool --config Cheers, Ralf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]