automake
[Top][All Lists]
Advanced

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

non-installed shared libraries


From: Gav Wood
Subject: non-installed shared libraries
Date: Thu, 16 Jan 2003 12:26:05 +0000
User-agent: KMail/1.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

sorry if this email is just me being ignorant but i can't find an easy way of 
doing what i need - perhaps you could help.

i'm using automake for a project that implements a plugin system. it has a 
small, non-installed cradle (example) program for testing the library that it 
builds. because it's a plugin system it needs two other small non-installed 
shared libraries be built, to act as plugin examples for the test program.

i can build the non-installed program well using rules:

noinst_PROGRAMS = example
example_SOURCES = example.cpp
example_LDADD = libsucplugin.la

i can then build the two plugins as non-installed static libraries using 
rules:

noinst_LIBRARIES = libselfcat.a libunderline.a

however, they need to be shared. if i try using libtool:

noinst_LTLIBRARIES = libselfcat.la libunderline.la

i end up with two .la files and no linkable shared libraries.

any ideas?

gav

- -- 
Gav Wood -- gav at cs dot york dot ac dot uk
http://www.indigoarchive.net/gav/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+JqThdci4J4649rgRAk/iAJ0RDJ//H8VIUN+NOr1xZAQhgmrQswCcCpEl
VSZE2cP0x77sGFkssdpUpIA=
=+xYC
-----END PGP SIGNATURE-----





reply via email to

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