8010908: Images target failes when configured with --disable-zip-debug-info
authorerikj
Thu, 28 Mar 2013 09:36:43 +0100
changeset 16511 a059e818459d
parent 16416 bcebd3fdefc9
child 16512 024da1ae4667
8010908: Images target failes when configured with --disable-zip-debug-info Reviewed-by: tbell
jdk/makefiles/Images.gmk
--- a/jdk/makefiles/Images.gmk	Wed Jul 05 18:46:58 2017 +0200
+++ b/jdk/makefiles/Images.gmk	Thu Mar 28 09:36:43 2013 +0100
@@ -649,7 +649,7 @@
         EXEC_LIST_BIN:=$(filter-out %$(notdir $(MSVCR_DLL)),$(filter %.exe %.dll,$(ALL_BIN_LIST)))
     else
         # Find all executables in JDK_OUTPUTDIR since they exist when this makefile is parsed
-        EXEC_LIST_BIN:=$(shell $(FILE) `$(FIND) $(JDK_OUTPUTDIR)/bin -type f -name \*$(EXE_SUFFIX)` \
+        EXEC_LIST_BIN:=$(shell $(FILE) `$(FIND) $(JDK_OUTPUTDIR)/bin -type f -name \*$(EXE_SUFFIX) ! -name \*.debuginfo` \
 		| $(EGREP) 'ELF' | $(CUT) -d':' -f1)
         # On mac, the old build searches for static libraries for stripping instead of shared.
         # Not clear if it's intentional.