Subject: Re: rpath flags vs wrapper scripts
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 10/30/2005 23:45:13
On Sun, Oct 30, 2005 at 05:19:16PM -0500, Dan McMahill wrote:
> So, whats the best way to fix this?
>
> 1) maybe wcalc-config should't try to include any rpath flags and leave
> it up to the programs which link to it. Of course since the wrapper
> scripts seem to get tripped up sometimes during my rpath tests, I'm not
> sure this will work right.
>
> 2) some magic variable in cad/libwcalc/Makefile or
> cad/gtk-wcalc/Makefile that causes either the first autoconf test to
> give more accurate results or to fix up the command on the second?
3) Use libtool for what it is intended to do.
I think that is the easiest and most portable solution. Just don't
hard-wire any strange conditionals in configure based on libtool.m4
please :-)
Joerg