summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-10-04 02:32:21 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-10-04 02:32:21 +0000
commit71cacdaa1599189c4c4e44abd44e2e37dc63f789 (patch)
tree3cd6771ec1c28f19b1f006ad3a7a93884edaee1e /Makefile.rules
parentbb11771eb6ffaf6867486f47719c3d52c4a0d63e (diff)
downloadllvm-71cacdaa1599189c4c4e44abd44e2e37dc63f789.tar.gz
llvm-71cacdaa1599189c4c4e44abd44e2e37dc63f789.tar.bz2
llvm-71cacdaa1599189c4c4e44abd44e2e37dc63f789.tar.xz
Makefile.rules: Fix breakage on cygming --enable-shared.
This has been applied already in r115093 on release_28. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 5148bc217d..261578f35f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -945,6 +945,11 @@ ifdef EXPORTED_SYMBOL_FILE
# First, set up the native export file, which may differ from the source
# export file.
+# The option --version-script is not effective on GNU ld win32.
+ifneq (,$(filter $(HOST_OS),Cygwin MingW))
+ HAVE_LINK_VERSION_SCRIPT := 0
+endif
+
ifeq ($(HOST_OS),Darwin)
# Darwin convention prefixes symbols with underscores.
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed