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.

-- 
albert chin ([EMAIL PROTECTED])


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to