Re: [31521] trunk/base/Mk/macports.autoconf.mk.in
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 ? Kind regards, Maun Suang -- Boey Maun Suang (Boey is my surname) Email: boeyms at macports dot org
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
participants (2)
-
Anders F Björklund
-
Boey Maun Suang