[ANNOUNCEMENT] NEW: libtool-2.2.2-2 / Updated: libltdl7-2.2.2-2

Brian Dessent brian@dessent.net
Tue Apr 15 05:03:00 GMT 2008


Charles Wilson wrote:

> I think that libtool hasn't been told that LDFLAGS should include
> -L/usr/lib/w32api.  I think this is something that should be passed on
> the invocation line in your makefile -- maybe AM_LDFLAGS needs to be set?

But the linker searches this location by default:

$ grep SEARCH_DIR /usr/lib/ldscripts/i386pe.x
SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/local/lib");
SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api");

Shouldn't libtool be able to divine this information automatically? 
Likewise, having to specify -L/usr/lib/w32api anywhere in any *FLAGS
seems wrong since it's a system location, just like you'd never expect
to have to add -L/usr/lib to *FLAGS.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list