Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3eb2347

Browse files
committed
Merge with default.
2 parents 8485701 + a05a503 commit 3eb2347

2 files changed

Lines changed: 9 additions & 12 deletions

File tree

Makefile.pre.in

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -486,18 +486,12 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
486486
$(LIBRARY) \
487487
$(RESSRCDIR)/Info.plist
488488
$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)
489-
if test "${UNIVERSALSDK}"; then \
490-
$(CC) -o $(LDLIBRARY) @UNIVERSAL_ARCH_FLAGS@ -dynamiclib \
491-
-isysroot "${UNIVERSALSDK}" \
492-
-all_load $(LIBRARY) -Wl,-single_module \
493-
-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \
494-
-compatibility_version $(VERSION) \
495-
-current_version $(VERSION) \
496-
-framework CoreFoundation $(LIBS); \
497-
else \
498-
/usr/bin/libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) \
499-
@LIBTOOL_CRUFT@ -framework CoreFoundation $(LIBS);\
500-
fi
489+
$(CC) -o $(LDLIBRARY) $(PY_LDFLAGS) -dynamiclib \
490+
-all_load $(LIBRARY) -Wl,-single_module \
491+
-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \
492+
-compatibility_version $(VERSION) \
493+
-current_version $(VERSION) \
494+
-framework CoreFoundation $(LIBS);
501495
$(INSTALL) -d -m $(DIRMODE) \
502496
$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj
503497
$(INSTALL_DATA) $(RESSRCDIR)/Info.plist \

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ Build
621621
support now looks for "__powerpc__" as well as "__ppc__": the latter seems to
622622
only be present on OS X; the former is the correct one for Linux with GCC.
623623

624+
- Issue #1099: Fix the build on MacOSX when building a framework with pydebug
625+
using GCC 4.0.
626+
624627
Tools/Demos
625628
-----------
626629

0 commit comments

Comments
 (0)