This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]