diff modules/javafx.graphics/src/main/native-font/MacFontFinder.c @ 11306:c91a28ed4845

8223760: support static builds Reviewed-by: kcr
author jvos
date Wed, 17 Jul 2019 22:22:20 +0200
parents 77bfbbf9a00c
children e21afe5aabed
line wrap: on
line diff
--- a/modules/javafx.graphics/src/main/native-font/MacFontFinder.c	Tue Jul 16 01:20:09 2019 +0530
+++ b/modules/javafx.graphics/src/main/native-font/MacFontFinder.c	Wed Jul 17 22:22:20 2019 +0200
@@ -30,7 +30,7 @@
 #include <jni.h>
 #include <com_sun_javafx_font_MacFontFinder.h>
 
-#if TARGET_OS_IPHONE /* iOS */
+#if TARGET_OS_IPHONE || defined(STATIC_BUILD) /* iOS or static build */
 
 #import <CoreText/CoreText.h>