< prev index next >

make/lib/SecurityLibraries.gmk

Print this page

        

@@ -24,10 +24,12 @@
 #
 
 include LibCommon.gmk
 
 ifeq ($(OPENJDK_TARGET_OS), macosx)
+  # JavaNativeFoundation framework not supported in static builds 
+  ifneq ($(BUILD_STATIC), true)
 
   ################################################################################
 
   LIBOSXSECURITY_DIRS := $(JDK_TOPDIR)/src/java.base/macosx/native/libosxsecurity
   LIBOSXSECURITY_CFLAGS := -I$(LIBOSXSECURITY_DIRS) \

@@ -58,6 +60,8 @@
 
   TARGETS += $(BUILD_LIBOSXSECURITY)
 
   ################################################################################
 
+  endif
 endif
+
< prev index next >