Tell ld to look into /usr/local/lib. gcc does look into /usr/local/include and might end up choosing the headers of a library which exists in both /usr/lib and /usr/local/lib, but of course different versions.
Tell ld to look into /usr/local/lib.
gcc does look into /usr/local/include and might end up choosing the headers of a
library which exists in both /usr/lib and /usr/local/lib, but of course different
versions.

This hack works on MacOS X with and without a custom libreadline. It might break
on other systems, but it's much better than altering gcc include lookup order.

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@18978 d073be05-634f-4543-b044-5fe20cf6d1d6

neverpanic/macports-base,neverpanic/macports-base,danchr/macports-base,macports/macports-base,danchr/macports-base,macports/macports-base