$NetBSD$ Ensure java libraries can be found during build. --- a/make/GenerateLinkOptData.gmk.orig 2019-01-08 09:40:28.000000000 +0000 +++ b/make/GenerateLinkOptData.gmk @@ -77,6 +77,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/ $(call MakeDir, $(LINK_OPT_DIR)) $(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@)) $(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE))) + LD_LIBRARY_PATH=$(INTERIM_IMAGE_DIR)/lib:$(INTERIM_IMAGE_DIR)/lib/jli \ $(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \ $(CLASSLIST_FILE_VM_OPTS) \ -cp $(SUPPORT_OUTPUTDIR)/classlist.jar \