#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):
What you want to ensure is not possible. One can try to carefully order the search paths (i.e. first locations for individual libraries, then locations containing multiple libraries, then standard locations), but this is also not guaranteed to work in all cases.
Using absolute paths for include paths requires modifying the source code. Alternatively, one could set up symbolic links from a single directory that is searched first.
The problem is made even more difficult since both libraries and include files depend on other libraries or include files, and their search paths may be even more difficult to set.