[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_CONDITIONAL not working properly, or I just don't understand :-(
From: |
Gary V. Vaughan |
Subject: |
Re: AM_CONDITIONAL not working properly, or I just don't understand :-( |
Date: |
Wed, 15 Oct 2003 14:15:06 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3 |
Kevin P. Fleming wrote:
Gary V. Vaughan wrote:
Actually, you *do* need to install the libraries even if they are
linked into the program statically because libltdl looks up the
pseudolibrary (.la) in the module directory to get metadata about
(even preloaded) modules. Fixing this is on the TODO list, but it is
quite a big job and probably won't be fixed soon.
Well, now that you've seen my messages on the libtool list you know that
I'm not lt_dlopen-ing the .la files at all (unless they were built
shared), but rather scanning the lt_preloaded_symbols list directly and
using the names I find there. So in my case I don't need the .la files
when the libraries were built statically, unless there's something else
that I'm missing. I'd really like my users to be able to create a static
binary and be able to copy it around without needing any "support" files
for it to function properly.
Is there a way to get this AM_CONDITIONAL logic to do what I'm asking?
Completely untested, but have you tried:
pkglib_LTLIBRARIES =
noinst_LTLIBRARIES =
if INSTALL_LIBS
pkglib_LTLIBRARIES += $(LIBLIST)
else
noinst_LTLIBRARIES += $(LIBLIST)
endif
?
HTH,
Gary.
--
())_. Gary V. Vaughan gary@(lilith.warpmail.net|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
- AM_CONDITIONAL not working properly, or I just don't understand :-(, Kevin P. Fleming, 2003/10/12
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Gary V. Vaughan, 2003/10/13
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Kevin P. Fleming, 2003/10/13
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(,
Gary V. Vaughan <=
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Kevin P. Fleming, 2003/10/15
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Gary V. Vaughan, 2003/10/15
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Kevin P. Fleming, 2003/10/15
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Gary V. Vaughan, 2003/10/16
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Kevin P. Fleming, 2003/10/16
- Re: AM_CONDITIONAL not working properly, or I just don't understand :-(, Kevin P. Fleming, 2003/10/17