Subject: Re: Default LDFLAGS
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 03/23/1999 15:30:32
On Tue, 23 Mar 1999, Manuel Bouyer wrote:

: Is there any reasons to set -Wl,-R/usr/pkg/lib in LDFLAGS, but not
: -L/usr/pkg/lib ?
: Without -L/usr/pkg/lib gcc can't find statically-linked libraries in
: /usr/pkg/lib, at last on a 1.3.3 system (I didn't check -current).

Probably so that autoconfed pkgs won't do things like `automatically' find
ncurses when we want the pkg to use standard curses....

Adding -L to the default LDFLAGS opens a whole can of configuration worms.
That really should be set on a per-pkg basis.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)