automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building library


From: BERTRAND Joël
Subject: Building library
Date: Fri, 05 Apr 2002 11:36:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311

        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

[Prev in Thread] Current Thread [Next in Thread]