[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to set two lib paths
From: |
Ralf Wildenhues |
Subject: |
Re: How to set two lib paths |
Date: |
Mon, 10 Dec 2007 07:43:47 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-13) |
Hello Eriberto,
* Eriberto wrote on Sun, Dec 09, 2007 at 11:03:36PM CET:
>
> I have a program using autoconf and automake. This program puts his
> libraries in /usr/lib/kde3 and /usr/lib. But I need to put the
> libraries in /usr/lib/kde3 and /usr/lib/foo. My problem is: if I use
> --libdir=/usr/lib/foo, the KDE3 libs are put in /usr/lib/foo/kde3
> directory.
Is your package named foo? Then I'd put something like this in
the Makefile.am files:
pkglib_LTLIBRARIES = libfoo1.la libfoo2.la ...
kdelibdir = $(libdir)/kde3
kdelib_LTLIBRARIES = libkde1.la libkde2.la ...
If your package is not named foo, then I suggest using a different
prefix, e.g.:
foolibdir = $(libdir)/foo
foolib_LTLIBRARIES = ...
Cheers,
Ralf