Do an actual test for xcodebuild, in stead of relying on the user to
uncomment the relevant section.
This commit is contained in:
parent
9f5f056d75
commit
29eb8c315d
|
@ -9,10 +9,12 @@ 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:
|
||||
# Test whether to use xcodebuild (preferred) or pbxbuild:
|
||||
ifeq ($(shell ls /usr/bin/xcodebuild),/usr/bin/xcodebuild)
|
||||
PBXBUILD=xcodebuild
|
||||
else
|
||||
PBXBUILD=pbxbuild
|
||||
endif
|
||||
|
||||
# These are normally glimpsed from the previous set
|
||||
bindir=/usr/local/bin
|
||||
|
|
Loading…
Reference in New Issue