aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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