diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2011-03-14 15:04:34 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2011-03-14 15:04:34 (GMT) |
commit | 42d0f68458beff65f1efb0281be5e310b1b02381 (patch) | |
tree | 11db4cfbb0a6c71d8838db26d5a3c1db901689db | |
parent | 1a5201f80d2293cd5ab83f4f3a751fb508f64ea7 (diff) | |
parent | 250324952e63a51fe885d457d207082f249bbefd (diff) | |
download | cpython-42d0f68458beff65f1efb0281be5e310b1b02381.zip cpython-42d0f68458beff65f1efb0281be5e310b1b02381.tar.gz cpython-42d0f68458beff65f1efb0281be5e310b1b02381.tar.bz2 |
Issue #1099: Fix the build on MacOSX when building a framework with pydebug using GCC 4.0.
-rw-r--r-- | Makefile.pre.in | 18 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 9 insertions, 12 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 0712893..7c23177 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -487,18 +487,12 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \ $(LIBRARY) \ $(RESSRCDIR)/Info.plist $(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION) - if test "${UNIVERSALSDK}"; then \ - $(CC) -o $(LDLIBRARY) @UNIVERSAL_ARCH_FLAGS@ -dynamiclib \ - -isysroot "${UNIVERSALSDK}" \ - -all_load $(LIBRARY) -Wl,-single_module \ - -install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \ - -compatibility_version $(VERSION) \ - -current_version $(VERSION) \ - -framework CoreFoundation $(LIBS); \ - else \ - /usr/bin/libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) \ - @LIBTOOL_CRUFT@ -framework CoreFoundation $(LIBS);\ - fi + $(CC) -o $(LDLIBRARY) $(PY_LDFLAGS) -dynamiclib \ + -all_load $(LIBRARY) -Wl,-single_module \ + -install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \ + -compatibility_version $(VERSION) \ + -current_version $(VERSION) \ + -framework CoreFoundation $(LIBS); $(INSTALL) -d -m $(DIRMODE) \ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj $(INSTALL_DATA) $(RESSRCDIR)/Info.plist \ @@ -516,6 +516,9 @@ Build support now looks for "__powerpc__" as well as "__ppc__": the latter seems to only be present on OS X; the former is the correct one for Linux with GCC. +- Issue #1099: Fix the build on MacOSX when building a framework with pydebug + using GCC 4.0. + Tools/Demos ----------- |