#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 eschnett):
The -L path should not contain those libraries that are searched by default. The reason is that otherwise these system locations are potentially searched first, making it impossible to replace libraries that already exist on the system. That is, if we want to provide a library via ExternalLibraries (e.g. HDF5) that already exists on the system, the linker may then choose the system library instead, which would be wrong.
/opt/local etc. (the "Mac OS X equivalents") are not part of the default search path, and should not be excluded.
/usr/include and /usr/local/include should be excluded from -I (include path).