Hi,

I'm trying to port a C++ application on the ARM platform. For that purpose,
I'm updating the makefiles in order to use libtool. And I came into trouble.
Here is what I did and I would appreciate any help.

Here is the makefile original line (extracted) :

g++ ... -shared ... -o lib_out_sdl.so ... -lccext2 -l... ... `pkg-config
--libs sdl`

that I transformed into :

$(SHELL) libtool --mode=link --tag=CXX g++ ...

The normal output of the pkg-config command is :

-Wl,-rpath,/home/navidev/Dev/ltib/rootfs/usr/lib
-L/home/navidev/Dev/ltib/rootfs/usr/lib -lSDL -lpthread

Using libtool, I can notice that -lSDL has been replaced with
/usr/lib/libSDL.so, which is the wrong library. And only this library option
has been replaced. All the other -l options have not been subtituted.

I would like to know where this substitution comes from ? And how to control
it ?
Many thanks in advance.

Regards.
-- 
View this message in context: 
http://www.nabble.com/Libtool-1.5---Cross-compilation-and-library-substitution--newbie--tp20577802p20577802.html
Sent from the Gnu - Libtool - Discuss mailing list archive at Nabble.com.
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to