On Wed, Apr 18, 2007 at 03:54:13PM +0100, Nicholas J Humfrey wrote: > I have been having problems with building modules to be installed > into pkglibdir automatically, but I have been having problems using > pkglib_LTLIBRARIES and EXTRA_LTLIBRARIES to work together. Instead I > have been using lib_LTLIBRARIES and EXTRA_LTLIBRARIES and setting rpath. > > However the problem I have now is that it isn't the modules in the > right place. The modules are being installed into /usr/local/lib > instead of /usr/local/lib/mpg123. I have managed to solve the problem > by having each module compiled in a seperate directory, and > conditionally building the SUBDIRS, however I would rather not do it > this way as there is only a single source file per module. > > Does anyone have a working recipe for doing this sort of thing?
I conditionally build modules with various dependences according to which of them are available and install them under pkglibdir -- and build many in a single directory. However, I do not experience any of the described problems so maybe in fact I do something else than you... Anyway, you can have a look at http://gwyddion.svn.sourceforge.net/viewvc/gwyddion/trunk/gwyddion/modules/file/Makefile.am?view=markup Yeti -- http://gwyddion.net/ _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool