make/common/JdkNativeCompilation.gmk
branchihse-jdk-library-branch
changeset 56488 a6cb200daa5d
parent 56464 552922083f25
child 56511 2b67c11c0db6
--- a/make/common/JdkNativeCompilation.gmk	Thu Apr 26 15:37:22 2018 +0200
+++ b/make/common/JdkNativeCompilation.gmk	Thu Apr 26 15:52:17 2018 +0200
@@ -90,7 +90,10 @@
   endif
 
   ifneq ($$($1_HEADERS_FROM_SRC), false)
-    $1_SRC_HEADER_FLAGS := $$(foreach dir, $$($1_SRC), -I$$(dir))
+    $1_SRC_HEADER_FLAGS := \
+        $$(foreach dir, $$($1_SRC), -I$$(dir)) \
+        -I$(call FindHeaderDirForModule, $(MODULE)) \
+        #
   endif
   ifneq ($$($1_CFLAGS), )
     $1_CFLAGS += $$($1_SRC_HEADER_FLAGS) $$($1_HEADER_FLAGS)