8204684: [AIX] Build of libjli_static broken after change 8204572 (SetupJdkLibrary)
Reviewed-by: stuefe, erikj
--- a/make/lib/CoreLibraries.gmk Mon Jun 11 09:40:20 2018 -0700
+++ b/make/lib/CoreLibraries.gmk Mon Jun 11 19:09:15 2018 +0200
@@ -347,7 +347,8 @@
EXCLUDE_FILES := $(LIBJLI_EXCLUDE_FILES), \
EXTRA_FILES := $(LIBJLI_EXTRA_FILES), \
OPTIMIZATION := HIGH, \
- CFLAGS := $(STATIC_LIBRARY_FLAGS) $(LIBJLI_CFLAGS_JDKLIB) $(LIBJLI_CFLAGS), \
+ CFLAGS := $(STATIC_LIBRARY_FLAGS) $(LIBJLI_CFLAGS_JDKLIB) $(LIBJLI_CFLAGS) \
+ $(addprefix -I, $(LIBJLI_SRC_DIRS)), \
ARFLAGS := $(ARFLAGS), \
OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjli_static))