llvm.org GIT mirror llvm / a43ea0a
llvm-config: Quick fix for cross compilation. Don't be confsed between host and target. It has been there since r252532. FIXME: The clause may use conditions of host compiler, not HOST_TRIPLE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260343 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
352352 StringRef SharedExt, SharedVersionedExt, SharedDir, SharedPrefix, StaticExt,
353353 StaticPrefix, StaticDir = "lib", DirSep = "/";
354 const Triple HostTriple(Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE));
354 const Triple HostTriple(Triple::normalize(LLVM_HOST_TRIPLE));
355355 if (HostTriple.isOSWindows()) {
356356 SharedExt = "dll";
357357 SharedVersionedExt = LLVM_DYLIB_VERSION ".dll";