--- a/make/lib/Lib-jdk.sctp.gmk Thu Apr 26 15:52:17 2018 +0200
+++ b/make/lib/Lib-jdk.sctp.gmk Thu May 03 14:30:20 2018 +0200
@@ -34,10 +34,10 @@
NAME := sctp, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB), \
- HEADER_FLAGS := \
- -I$(call FindHeaderDirForModule, java.base) \
- $(addprefix -I, $(call FindSrcDirsForLib, java.base, net)) \
- $(addprefix -I, $(call FindSrcDirsForComponent, java.base, libnio/ch)), \
+ EXTRA_HEADER_DIRS := \
+ $(call FindHeaderDirForModule, java.base) \
+ $(call FindSrcDirsForLib, java.base, net) \
+ $(call FindSrcDirsForComponent, java.base, libnio/ch), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS_unix := -lnio -lnet -ljava -ljvm, \