27 Nov
2007
27 Nov
'07
9:49 a.m.
Boey Maun Suang wrote:
Hi everyone,
Probably a stupid question, but:
LDFLAGS = -L/usr/local/lib @LDFLAGS@
Should we really have '-L/usr/local/lib' in that line in trunk/base/Mk/macports.autoconf.mk.in ?
Having it there (explicitly) makes things more predictable, as it'll look in /usr/local for *both* headers and libraries. see http://trac.macports.org/projects/macports/changeset/18978 (notorious to break are the "readline" and "iconv" libraries) But maybe it should also be accompanied by a similar such explicit -I/usr/local/include flag to CPPFLAGS, to make things "consistent". GCC will look into /usr/local/include anyway (and /usr/include too), but restating it again might make it more self-documenting ? Or not. --anders