[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: same library installed several times in same directory (PR/350)
From: |
Harlan Stenn |
Subject: |
Re: FYI: same library installed several times in same directory (PR/350) |
Date: |
Mon, 21 Oct 2002 22:15:46 -0400 |
User-agent: |
EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) |
> Harlan> Just to ask, what is the problem if the same library is
> Harlan> installed in two different places?
>
> Automake produces only one rule to link the library, and
> therefore doesn't know how to set `-rpath' correctly. See
> PR/285.
So what is the problem with:
if COND1
lib_LTLIBRARIES = liba.la
else
if COND2
pkglib_LTLIBRARIES = liba.la
endif
endif
I'd hate to have to hack around this problem using something like:
Makefile.am:
noinst_LTLIBRARIES = liba.la
if COND1
SUBDIRS = . cond1
else
if COND2
SUBDIRS = . cond2
endif
cond1/Makefile.am:
lib_LTLIBRARIES = ../liba.la
cond2/Makefile.am
pkglib_LTLIBRARIES = ../liba.la
(assuming I can get this hack to work).
H