This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared library suffix


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
> bfriesen@simple.dallas.tx.us
> http://www.simplesystems.org/users/bfriesen

-- 
Alien is my name and headbiting is my game.
PGP key: http://users.pandora.be/Alien999999999/alien.gpg




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]