diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile index 88fbcaf4071..d65dcf922f4 100644 --- a/Mac/OSX/Makefile +++ b/Mac/OSX/Makefile @@ -9,6 +9,10 @@ prefix=/Library/Frameworks/Python.framework/Versions/$(VERSION) LIBDEST=$(prefix)/lib/python$(VERSION) BUILDPYTHON=$(builddir)/python.exe DESTDIR= +# For 10.2: +#PBXBUILD=pbxbuild +# For 10.3: +PBXBUILD=xcodebuild # These are normally glimpsed from the previous set bindir=/usr/local/bin @@ -58,7 +62,7 @@ installapps: install_PythonLauncher install_Python install_BuildApplet install_I install_PythonLauncher: cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \ - pbxbuild -target PythonLauncher -buildstyle Deployment install \ + $(PBXBUILD) -target PythonLauncher -buildstyle Deployment install \ DSTROOT=$(DESTDIR)/ INSTALL_PATH=$(PYTHONAPPSPATH) install_Python: