changeset 13413:c8dd830a0393

8146425: After change 8142907 'EXCLUDE_FILE' is wrongly interpreted as pattern Reviewed-by: erikj
author simonis
date Tue, 05 Jan 2016 18:53:27 +0100
parents c65bb5305208
children 398904912c77
files make/lib/NioLibraries.gmk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/lib/NioLibraries.gmk	Tue Jan 05 10:09:48 2016 -0500
+++ b/make/lib/NioLibraries.gmk	Tue Jan 05 18:53:27 2016 +0100
@@ -58,7 +58,10 @@
 ifeq ($(OPENJDK_TARGET_OS), aix)
   BUILD_LIBNIO_MAPFILE:=$(JDK_TOPDIR)/make/mapfiles/libnio/mapfile-$(OPENJDK_TARGET_OS)
   BUILD_LIBNIO_EXFILES += \
-      NativeThread.c
+      /NativeThread.c
+  # Notice: we really need the leading slash here because otherwise every
+  # FILE_NAME in EXCLUDE_FILES will actually match any file ending in FILE_NAME
+  # (e.g. 'NativeThread.c' will also exclude 'AixNativeThread.c').
 endif
 
 $(eval $(call SetupNativeCompilation,BUILD_LIBNIO, \