automake
[Top][All Lists]
Advanced

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

Re: shared library suffix


From: Bob Friesenhahn
Subject: Re: shared library suffix
Date: Sat, 10 Apr 2004 09:59:15 -0500 (CDT)

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





reply via email to

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