[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Automake problem creating library only containing other libraries
From: |
Joris Esch |
Subject: |
Automake problem creating library only containing other libraries |
Date: |
Mon, 30 Jul 2001 15:12:53 -0400 |
Hi:
We experencienced some problems creating a libtool library. The library
will be used as a collection of other useful libtool libraries.
We had the following Makefile.am
-------
noinst_LTLIBRARIES = libfood.la
libfood_la_LIBADD = $(top_builddir)/src/sugar/libsugar.la \
$(top_builddir)/srs/milk/libmilk.la
-------
We got around it by creating an EMPTY dummy file libfoodhack.cpp
and by changing Makefile.am
-------
noinst_LTLIBRARIES = libfood.la
libfood_la_SOURCES = libfoodhack.cpp
libfood_la_LIBADD = $(top_builddir)/src/sugar/libsugar.la \
$(top_builddir)/srs/milk/libmilk.la
-------
We use automake version 1.4.
It seemed like some variables or macros where not correctly set in the
generated Makefile (Specifically $(LINK) ). This was solved by adding a
.cpp file to the dependency list.
Is there a more elegant way to solve this problem?
Thank you,
Joris Esch
address@hidden (remove UPPERCASE)
William Matthews
address@hidden (remove UPPERCASE)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Automake problem creating library only containing other libraries,
Joris Esch <=