File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -695,13 +695,6 @@ def get_libraries(self, ext):
695
695
return ext .libraries + [pythonlib ]
696
696
else :
697
697
return ext .libraries
698
- elif sys .platform [:6 ] == "cygwin" :
699
- template = "python%d.%d"
700
- pythonlib = (template %
701
- (sys .hexversion >> 24 , (sys .hexversion >> 16 ) & 0xff ))
702
- # don't extend ext.libraries, it may be shared with other
703
- # extensions, it is a reference to the original list
704
- return ext .libraries + [pythonlib ]
705
698
elif sys .platform [:6 ] == "atheos" :
706
699
from distutils import sysconfig
707
700
Original file line number Diff line number Diff line change @@ -635,9 +635,9 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
635
635
$(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)
636
636
$(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources
637
637
638
- # This rule builds the Cygwin Python DLL and import library if configured
638
+ # This rule builds the Python DLL and import library if configured
639
639
# for a shared core library; otherwise, this rule is a noop.
640
- $(DLLLIBRARY) libpython$(VERSION ).dll.a: $(LIBRARY_OBJS)
640
+ $(DLLLIBRARY) libpython$(LDVERSION ).dll.a: $(LIBRARY_OBJS)
641
641
if test -n "$(DLLLIBRARY)"; then \
642
642
$(LDSHARED) -Wl,--out-implib=$@ -o $(DLLLIBRARY) $^ \
643
643
$(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST); \
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ CYGWIN*) if test $libdir = .
91
91
else
92
92
ExtraLibDir=' $(LIBPL)'
93
93
fi
94
- ExtraLibs=" -L$ExtraLibDir -lpython\$ (VERSION )" ;;
94
+ ExtraLibs=" -L$ExtraLibDir -lpython\$ (LDVERSION )" ;;
95
95
esac
96
96
97
97
# Main loop
You can’t perform that action at this time.
0 commit comments