Files
MINGW-packages/mingw-w64-python3/0270-CYGWIN-issue13756-Python-make-fail-on-cygwin.patch
2015-09-21 15:47:39 +03:00

28 lines
1.2 KiB
Diff

diff -Naur Python-3.5.0-orig/Makefile.pre.in Python-3.5.0/Makefile.pre.in
--- Python-3.5.0-orig/Makefile.pre.in 2015-09-21 13:41:19.691880200 +0300
+++ Python-3.5.0/Makefile.pre.in 2015-09-21 13:41:24.859363400 +0300
@@ -647,9 +647,9 @@
$(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)
$(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources
-# This rule builds the Cygwin Python DLL and import library if configured
+# This rule builds the 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); \
diff -Naur Python-3.5.0-orig/Modules/makesetup Python-3.5.0/Modules/makesetup
--- Python-3.5.0-orig/Modules/makesetup 2015-09-13 14:41:25.000000000 +0300
+++ Python-3.5.0/Modules/makesetup 2015-09-21 13:41:24.864362900 +0300
@@ -91,7 +91,7 @@
else
ExtraLibDir='$(LIBPL)'
fi
- ExtraLibs="-L$ExtraLibDir -lpython\$(VERSION)";;
+ ExtraLibs="-L$ExtraLibDir -lpython\$(LDVERSION)";;
esac
# Main loop