summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-10-01 16:15:09 -0500
committerZachary Ware <zachary.ware@gmail.com>2016-10-01 16:15:09 -0500
commitadf717bbaed3e9ddbaa0d2d75f2ef25366968a74 (patch)
treeada10b42133bed04f48c4e50cafa3c4fc1ebe74d /Makefile.pre.in
parent866e3a8165ecb3cec2d258fe4aea4a22643f1291 (diff)
downloadcpython-adf717bbaed3e9ddbaa0d2d75f2ef25366968a74.tar.gz
Issue #13756: Fix building extensions modules on Cygwin
Patch by Roumen Petrov, based on original patch by Jason Tishler.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index a2174cea8b..ce5296eb29 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -674,7 +674,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
# This rule builds the Cygwin Python DLL and import library if configured
# for a shared core library; otherwise, this rule is a noop.
-$(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS)
+$(DLLLIBRARY) libpython$(LDVERSION).dll.a: $(LIBRARY_OBJS)
if test -n "$(DLLLIBRARY)"; then \
$(LDSHARED) -Wl,--out-implib=$@ -o $(DLLLIBRARY) $^ \
$(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST); \