Make "LIB_SUFFIX" a global cmake option (not just for the runtime) and use it also to define the LTO plugin install/search location.

This commit is contained in:
Johan Engelen 2016-11-28 14:37:42 +01:00
parent 788add6155
commit 4637101063
3 changed files with 13 additions and 14 deletions

View file

@ -48,7 +48,7 @@ string exe_path::getBaseDir() {
string exe_path::getLibDir() {
llvm::SmallString<128> r(getBaseDir());
path::append(r, "lib");
path::append(r, "lib" LDC_LIBDIR_SUFFIX);
return r.str();
}