automake
[Top][All Lists]
Advanced

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

Re: How to configure LIBOBJS


From: Juliano Ravasi Ferraz
Subject: Re: How to configure LIBOBJS
Date: Mon, 12 Jan 2004 11:48:01 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Ralf Wildenhues wrote:
$ cat lib/Makefile.am
noinst_LIBRARIES = libreplace.a
libreplace_a_SOURCES =
libreplace_a_LIBADD = $(LIBOBJS)
$ cat src/Makefile.am
bin_PROGRAMS = foo
LDADD = ../lib/libreplace.a

I can't do that. The project is a shared library and a set of utilities which uses it. Although it is ok to do this to the utilities, I'll have portability problems if I link a static library to my shared library.

In the meantime, I found the PR 401, which states this problem:

http://sources.redhat.com/ml/automake-prs/2003-q3/msg00029.html

I think the idea of having each filename of LIBOBJS prefixed with ${LIBOBJ_DIR}, and let LIBOBJ_DIR be defined differently in each Makefile is the better solution.

Is there some planning to fix this bug? I hate asking this, but it is the only thing I'm missing for the next release of my library.

Thanks for any help.

--
Juliano Ravasi Ferraz
    <address@hidden>

What if there were no hypothetical situations?





reply via email to

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