Subject: Re: Use of libtool in pkgs (correction)
To: Todd Vierling <>
From: Hubert Feyrer <>
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/

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

 - Hubert

Hubert Feyrer <>