Subject: Re: Use of libtool in pkgs (correction)
To: Todd Vierling <tv@pobox.com>
From: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
List: tech-pkg
Date: 07/15/1998 13:47:58
On Wed, 15 Jul 1998, Todd Vierling wrote:
> I found that libtool will not allow you to specify a relative path in -L
> (such as -L../somelib), because it is trying to force you to change that
> argument to be the .la file.  For example:
...
> won't work; it needs to be changed to:
> ${LIBTOOL} --mode=3Dlink ${CC} -o someprog ../somelib/somelib.la

How about the following, which will pass an absolute path to -L:
${LIBTOOL} --mode=3Dlink ${CC} -o someprog -L${.CURDIR}../somelib -lsomelib


 - Hubert

--=A0
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>