* Carlo Wood wrote on Fri, Oct 06, 2006 at 04:03:42PM CEST:

> /bin/sh ../libtool --tag=CXX --mode=link g++  -g -DCWDEBUG 
> -I/usr/local/install/4.1.2-20060901/include -W -Wall -Wundef -DDEBUG 
> -I"/usr/include/boost-1_33_1"  -export-dynamic -o edragon -export-dynamic 
> -no-undefined -Wl,--whole-archive,utils/.libs/libutils.a,--no-whole-archive 
> edragon-Application.o edragon-GUI_interface.o edragon-IniFile.o 
> edragon-PathList.o edragon-PluginFile.o edragon-PluginsManager.o 
> edragon-RCFile.o edragon-Runtime.o edragon-XMLFile.o 
> edragon-testsuite_hooks.o ../libltdl/libltdlc.la 
> -L/usr/local/install/4.1.2-20060901/lib -lcwd -lboost_filesystem-gcc-d-1_33_1 
> -L/usr/local/install/4.1.2-20060901/lib -lcairo   
> -L/usr/local/install/4.1.2-20060901/lib -lglib-2.0 
> -L/usr/local/install/4.1.2-20060901/lib -lxmlwrapp -lxsltwrapp -lxslt -lxml2  
>  -L/usr/local/install/4.1.2-20060901/lib -lcw

Instead of issuing
  -Wl,--whole-archive,utils/.libs/libutils.a,--no-whole-archive

which
- is not portable
- may be moved by Libtool (this is a known bug in both Debian's and
  upstream Libtool)

please make libutils.la a convenience archive (a noinst_LTLIBRARIES, if
you use Automake) and just link against
  utils/libutils.a

Then the order of that will be kept.

Cheers,
Ralf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to