[PATCH] Don't set $LIB if we're not targetting windows.
Filipe Cabecinhas
filcab+llvm.phabricator at gmail.com
Wed Feb 18 15:40:42 PST 2015
Hi timurrrr, samsonov,
http://reviews.llvm.org/D7739
Files:
test/lit.common.cfg
Index: test/lit.common.cfg
===================================================================
--- test/lit.common.cfg
+++ test/lit.common.cfg
@@ -61,7 +61,8 @@
config.environment['PATH'] = path
# Help MSVS link.exe find the standard libraries.
-if platform.system() == 'Windows':
+# Make sure we only try to use it when targetting Windows
+if platform.system() == 'Windows' and config.target_triple.endswith('win32'):
config.environment['LIB'] = os.environ['LIB']
# Use ugly construction to explicitly prohibit "clang", "clang++" etc.
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7739.20228.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150218/cf71b98a/attachment.bin>
More information about the llvm-commits
mailing list