From 04f817e512b6419399467129b8b2070a3b9bae5b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 18 Mar 2010 03:15:17 +0000 Subject: improved checking for Mac OS X 10.4 svn path=/trunk/externals/apple/; revision=13228 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2c13932..0e9876b 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ ifeq ($(UNAME),Darwin) STRIP = strip -x else # Mac OS X SOURCES += $(SOURCES_Darwin) - ifneq ($(findstring 8.11.1, $(shell uname -r)), 8.11.1) + ifneq ($(shell uname -r | sed 's|\([0-9][0-9]*\.[0-9][0-9]*\).*|\1|'), 8.11) SOURCES += $(SOURCES_iphoneos) endif EXTENSION = pd_darwin -- cgit v1.2.1