8231572: Use -lobjc instead of -fobjc-link-runtime in libosxsecurity

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2020-04-14 14:58:24 +02:00
parent 8cd9241448
commit 5dca7ec6b7

View File

@ -111,9 +111,9 @@ ifeq ($(call isTargetOs, macosx), true)
missing-method-return-type, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
-L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base \
$(call SET_SHARED_LIBRARY_ORIGIN) \
-fobjc-link-runtime, \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := \
-lobjc \
-framework JavaNativeFoundation \
-framework CoreServices \
-framework Security \