From 1a9caec3687092cdbcefdf55250f9393f340947b Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 22 Jun 2012 15:15:00 -0700 Subject: [PATCH] Config.macosx: first two digits of 'xcodebuild -version' number is enough; throw away rest of version number. $ xcodebuild -version Xcode 4.3.3 Build version 4E3002 Fixes #543. --- vm/Config.macosx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/Config.macosx b/vm/Config.macosx index e2dd001bb6..f8458bb772 100644 --- a/vm/Config.macosx +++ b/vm/Config.macosx @@ -24,7 +24,7 @@ LINKER = $(CPP) $(CFLAGS) -dynamiclib -single_module \ LINK_WITH_ENGINE = -lfactor LEOPARD_P := $(shell [[ `uname -r | sed -E -e 's/^([0-9]+).*/\1/'` -le 9 ]]; echo $$?) -XCODE_4_P := $(shell [[ `xcodebuild -version | sed -E -ne 's/^Xcode ([0-9]+).([0-9])/\1\2/p'` -ge 43 ]]; echo $$?) +XCODE_4_P := $(shell [[ `xcodebuild -version | sed -E -ne 's/^Xcode ([0-9]+).([0-9]).*/\1\2/p'` -ge 43 ]]; echo $$?) ifeq ($(LEOPARD_P),0) CC = gcc-4.2