fix build on old Xcode versions

This commit is contained in:
Joel Dice 2012-06-04 09:52:06 -06:00
parent 9ea6a28383
commit 7d8def84e0

View File

@ -326,8 +326,12 @@ ifeq ($(platform),darwin)
endif
version-script-flag =
lflags = $(common-lflags) -ldl -framework CoreFoundation \
-Wl,-compatibility_version,1.0.0
lflags = $(common-lflags) -ldl -framework CoreFoundation
ifeq (,$(shell ld -v | grep cctools))
lflags += -Wl,-compatibility_version,1.0.0
endif
ifneq ($(arch),arm)
lflags += -framework CoreServices -framework SystemConfiguration \
-framework Security