summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-20 04:19:02 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-20 04:19:02 +0000
commit23ccaa54dce1584bdda0041e558a60c214bed593 (patch)
treee7ffcedd037bf320c92783a92d7c5bcfee670301 /utils
parentb105246262ea1f18043a5846df03005683eeef97 (diff)
Rename the static version of libc++ on Windows.
Previously both the static version of libc++ and the import library for the DLL had the same name, 'c++.lib'. This patch renames the static library on Windows to be `libc++.lib` so it no longer conflicts. This naming convention is consistent with other windows libraries. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@300817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/libcxx/test/config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/libcxx/test/config.py b/utils/libcxx/test/config.py
index 9aea6e691..c9a3629f8 100644
--- a/utils/libcxx/test/config.py
+++ b/utils/libcxx/test/config.py
@@ -111,7 +111,8 @@ class Configuration(object):
def make_static_lib_name(self, name):
"""Return the full filename for the specified library name"""
if self.is_windows:
- return name + '.lib'
+ assert name == 'c++' # Only allow libc++ to use this function for now.
+ return 'lib' + name + '.lib'
else:
return 'lib' + name + '.a'
@@ -412,6 +413,9 @@ class Configuration(object):
if self.is_windows:
self.config.available_features.add('windows')
+ if self.cxx_stdlib_under_test == 'libc++':
+ # LIBCXX-WINDOWS-FIXME is a
+ self.config.available_features.add('LIBCXX-WINDOWS-FIXME')
# Attempt to detect the glibc version by querying for __GLIBC__
# in 'features.h'.