[PATCH] D13198: Fix `llvm-config` to adapt to the install environment.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 17:21:33 PST 2016
chapuni added a subscriber: chapuni.
================
Comment at: llvm/trunk/tools/llvm-config/llvm-config.cpp:331
@@ +330,3 @@
+ StaticPrefix, StaticDir = "lib";
+ const Triple HostTriple(Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE));
+ if (HostTriple.isOSWindows()) {
----------------
The behavior should be controlled not by target, but by host. Fixed in r260343.
Consider if host=linux, target=i686-win32.
Repository:
rL LLVM
http://reviews.llvm.org/D13198
More information about the llvm-commits
mailing list