diff --git a/Makefile b/Makefile index 96a85de34c..a653bcf0a7 100644 --- a/Makefile +++ b/Makefile @@ -286,7 +286,7 @@ MOD_SUBDIRS_MENUSELECT_TREE:=$(MOD_SUBDIRS:%=%-menuselect-tree) ifneq ($(findstring darwin,$(OSARCH)),) _ASTCFLAGS+=-D__Darwin__ SOLINK=-bundle -Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace - ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.7) + ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.6) SOLINK+=/usr/lib/bundle1.o endif _ASTLDFLAGS+=-L/usr/local/lib