[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shared libraries and automake
From: |
Alexandre Duret-Lutz |
Subject: |
Re: shared libraries and automake |
Date: |
Mon, 01 Apr 2002 17:22:13 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Eric" == Eric Ray <address@hidden> writes:
Eric> Okay, let me rephrase the question.
Eric> How can I generate a shared library without using libtool and then link
Eric> to it.
Eric> when defining the library like so
Eric> lib_LIBRARIES=libSomeLib.so
Eric> i get the following error when running automake
Eric> automake: Makefile.am: `libSomeLib.so' is not a standard library name
Eric> and then automake exits without generating Makefile.in
Automake doesn't know how to build .so files. This is
too much platform-dependent, that's why libtool exits.
Besides, the _LIBRARIES primary supports only static libraries
for now.
Since you don't want to use libtool, remove this lib_LIBRARIES
definition and write your own rule to build libSomeLib.so on
your system.
[...]
--
Alexandre Duret-Lutz