Subject: Where does LDFLAGS="-L/usr/lib ..." come from?
To: None <>
From: Roland Illig <>
List: tech-pkg
Date: 02/17/2004 20:28:08

I tried to build x11/gtk, but the configure script stopped having 
detected a version mismatch in libglib-1.2. Setting PKG_DEBUG_LEVEL to 
2, I discovered that CONFIGURE_ENV contained LDFLAGS="-L/usr/lib $rest" 
and so found the native shared library.

Has that always been the case?

How can I fix it? I already grepped for LDFLAGS in mk/.