--- a/jdk/make/lib/Lib-jdk.deploy.osx.gmk Wed Oct 28 23:31:01 2015 +0100
+++ b/jdk/make/lib/Lib-jdk.deploy.osx.gmk Thu Oct 29 16:31:00 2015 +0100
@@ -42,10 +42,10 @@
DISABLED_WARNINGS_clang := implicit-function-declaration format, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
- LDFLAGS_SUFFIX := -framework Cocoa \
+ LIBS := -framework Cocoa \
-framework Carbon \
-framework JavaNativeFoundation \
- $(LDFLAGS_JDKLIB_SUFFIX), \
+ $(JDKLIB_LIBS), \
OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libAppleScriptEngine, \
DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
@@ -74,14 +74,14 @@
LDFLAGS := $(LDFLAGS_JDKLIB) \
-L$(SUPPORT_OUTPUTDIR)/modules_libs/java.desktop \
$(call SET_SHARED_LIBRARY_ORIGIN), \
- LDFLAGS_SUFFIX_macosx := \
+ LIBS := \
-losxapp \
-framework Cocoa \
-framework ApplicationServices \
-framework JavaNativeFoundation \
-framework JavaRuntimeSupport \
-framework SystemConfiguration \
- $(LDFLAGS_JDKLIB_SUFFIX), \
+ $(JDKLIB_LIBS), \
OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libosx, \
DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))