Standardize directory names

RedHat systems use a libexec directory, MacOSX and Ubuntu use lib.  Changed our scripts and makefiles to handle both.

refs #63
This commit is contained in:
Alex Lin
2015-06-12 15:24:36 -05:00
parent 55ac9a7eea
commit eed8837478
22 changed files with 131 additions and 261 deletions

View File

@ -37,7 +37,6 @@ void HeaderSearchDirs::AddCompilerBuiltInSearchDirs () {
// all kinds of problems. On macs all headers are clang friendly.
#if __linux
std::stringstream icg_dir ;
//icg_dir << std::string(getenv("TRICK_HOME")) << "/libexec/trick/lib/clang/" ;
icg_dir << LLVM_HOME << "/lib/clang/" ;
icg_dir << __clang_major__ << "." << __clang_minor__ ;
#ifdef __clang_patchlevel__