19 lines
810 B
Diff
19 lines
810 B
Diff
|
# see thread of http://mail.openjdk.java.net/pipermail/build-dev/2018-June/022393.html
|
||
|
--- openjdk/make/common/JdkNativeCompilation.gmk Wed Jun 20 19:46:44 2018 -0700
|
||
|
+++ openjdk/make/common/JdkNativeCompilation.gmk Thu Jun 21 10:10:16 2018 +0200
|
||
|
@@ -119,9 +119,11 @@
|
||
|
endif
|
||
|
|
||
|
ifneq ($$($1_HEADERS_FROM_SRC), false)
|
||
|
- $1_SRC_HEADER_FLAGS := $$(foreach dir, $$(wildcard $$($1_SRC) \
|
||
|
- $$(call GetJavaHeaderDir, $$(MODULE))), -I$$(dir))
|
||
|
+ $1_SRC_HEADER_FLAGS := $$(addprefix -I, $$(wildcard $$($1_SRC)))
|
||
|
endif
|
||
|
+ # Always add the java header dir
|
||
|
+ $1_SRC_HEADER_FLAGS += $$(addprefix -I, $$(call GetJavaHeaderDir, $$(MODULE)))
|
||
|
+
|
||
|
ifneq ($$($1_EXTRA_HEADER_DIRS), )
|
||
|
$1_PROCESSED_EXTRA_HEADER_DIRS := $$(foreach dir, $$($1_EXTRA_HEADER_DIRS), \
|
||
|
$$(call ProcessDir, $$(dir)))
|
||
|
|