Hello,

        I'm working on a big project which contains a executable program and two 
libraries (static and dynamic). Thus, I have written in Makefile.am :

bin_PROGRAMS = rpl
lib_LTLIBRARIES = librpl.la

...

rpl_SOURCES = $(SRCC) $(SRCH) $(SRCF) $(INIT_EXE)
rpl_LDFLAGS = -rdynamic

librpl_la_SOURCES = $(SRCC) $(SRCH) $(SRCF) $(INIT_LIB)
librpl_la_LDFLAGS = -rdynamic -version-info 0:0:0

When I runs make, both libraries are built (librpl.so and librpl.a), but 
the included libraries (librpl.a includes some other libraries such as 
libranlux.a...) are not linked in the librpl.a. How can I force libtool 
to include the external libraries use by librpl in librpl ?

        Regards,

        JKB


Reply via email to