bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-L$(libdir)


From: NIIBE Yutaka
Subject: -L$(libdir)
Date: Tue, 15 Jan 2002 15:37:42 +0900 (JST)

I'm looking ncurses-5.2-20020112a.

Ncurses' build system uses -L$(libdir) when link.  It seems it's
introduced 971115.

I think that it's considered bad practice to include -L$(libdir)
option.  It could be convenient for broken environment (say, the
linker not searching /usr/local/lib), but it is bad because it is
possible for linker to find different library.

For cross compilation (./configure --host=something-different), it
causes disaster because -L$(libdir) let linker find library of
build system.

I think that -L$(libdir) should be removed from invocation of linker.
 
How do you think?
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]