On Sun, Mar 02, 2008 at 07:42:53PM -0600, Albert Chin wrote: > On Mon, Mar 03, 2008 at 02:02:09AM +0200, Petteri Räty wrote: > > Albert Chin kirjoitti: > >> On Thu, Feb 28, 2008 at 03:17:54PM +0200, Petteri Räty wrote: > >>> [EMAIL PROTECTED] /mnt/checkouts/classpath/native/jni/qt-peer $ make > >>> make all-am > >>> make[1]: Entering directory `/mnt/checkouts/classpath/native/jni/qt-peer' > >>> /bin/sh ../../../libtool --tag=CXX --mode=link g++ -DQT_SHARED > >>> -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -g > >>> -O2 -module -version-info 0:0:0 -no-undefined -avoid-version > >>> -Wl,--as-needed -o libqtpeer.la -rpath /usr/local/classpath/lib/classpath > >>> ... [snip snip] > >>> > >>> --as-needed needs to come before the object files and libs to be > >>> effective but libtool moves it to the end. This happens with both 1.5.26 > >>> and cvs head. > >> > >> The fact that libtool reorders _any_ of the command-line is a bug. I > >> think Ralf has a fix for this but I don't think it'll happen until 2.1 > >> or 2.2. > >> > > > > Still there in libtool 2.2 > > I forgot we skipped 2.0. So, that means "I don't think it'll happen > until 2.3 or 2.4"
http://lists.gnu.org/archive/html/libtool-patches/2006-06/msg00033.html http://lists.gnu.org/archive/html/libtool-patches/2006-01/msg00061.html http://wiki.azazil.net/GnuLibtoolProject/RoadMap: Preserve the order of the command-line and make changes in-place, if required. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool