[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shared library suffix
From: |
Alien999999999 |
Subject: |
Re: shared library suffix |
Date: |
Mon, 12 Apr 2004 09:08:26 +0200 |
User-agent: |
KMail/1.5.3 |
so how can i get it out of that .la file?
does libtool have any macros for autoconf?
thanks for the help...
Op zaterdag 10 april 2004 16:59, schreef Bob Friesenhahn:
> On Sat, 10 Apr 2004, Alien999999999 wrote:
> > In the config.h file, i need to know what the shared library suffix is on
> > the configured system. do you guys know how that is accomplished?
> >
> > the purpose is to use dlopen with a path, so i need to have the complete
> > filename of a library, therefor i must know the suffix...
>
> You should use libtool for this task. Automake is designed to work
> with libtool to build shared libraries, and libtool supports portable
> shared library "dlopen"ing via its libltdl component. Libtool stores
> the compile filename of the library in an associated .la file.
>
> Bob
> ======================================
> Bob Friesenhahn
> address@hidden
> http://www.simplesystems.org/users/bfriesen
--
Alien is my name and headbiting is my game.
PGP key: http://users.pandora.be/Alien999999999/alien.gpg