summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-10-01 21:15:09 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-10-01 21:15:09 (GMT)
commit3839d99b7913a37e370fbbedc5495162b2080e46 (patch)
treee29aee59ab2fbf5c318e407972ec66c2213955dd /Makefile.pre.in
parente999e96143a85af9ed50e2ad240ff28113c4feba (diff)
downloadcpython-3839d99b7913a37e370fbbedc5495162b2080e46.zip
cpython-3839d99b7913a37e370fbbedc5495162b2080e46.tar.gz
cpython-3839d99b7913a37e370fbbedc5495162b2080e46.tar.bz2
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 a2174ce..ce5296e 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); \