#1006: ExternalLibraries' configure.sh scripts handle /usr inconistently ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: Resolution: | Keywords: ExternalLibraries ------------------------------------+---------------------------------------
Comment (by rhaas):
I was only thinking of -I (and -isystem) since there seems to be no similar logic for -L documented in gcc. My comment was not really clear about this, sorry. Since it fails for both "lib" and "include" dirs on homebrew, the comment evolved as I went along in making it work for me. So it seems that for "include" on can (using gcc) safely use -I but one cannot use -L for "lib" for the reasons Erik outlined.
LIBDIRS and SYS_INC_DIRS seem like better solutions though, so I have updated my changes for osx-yosemite-homebrew to instead use them. They will make homebrew look a little bit more like a Linux system.