8204684: [AIX] Build of libjli_static broken after change 8204572 (SetupJdkLibrary)
authorsimonis
Mon, 11 Jun 2018 19:09:15 +0200
changeset 50506 54fcaffa8fac
parent 50505 50469fb301c4
child 50507 e5cdf2569510
8204684: [AIX] Build of libjli_static broken after change 8204572 (SetupJdkLibrary) Reviewed-by: stuefe, erikj
make/lib/CoreLibraries.gmk
--- 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))