Fix makefiles for building on Mavericks

This commit is contained in:
Mike Hearn 2014-06-05 21:29:44 +08:00
parent 86648ea054
commit 6edc4c1b48
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ ifeq ($(platform),darwin)
soname-flag =
version-script-flag =
lflags = $(common-lflags) -ldl -framework CoreFoundation
lflags = $(common-lflags) -ldl -framework CoreFoundation -framework Foundation
ifeq (,$(shell ld -v 2>&1 | grep cctools))
lflags += -Wl,-compatibility_version,1.0.0

View File

@ -343,7 +343,7 @@ else
endif
openjdk-cflags += \
-DMACOSX
-DMACOSX -x objective-c
endif
endif