8300111: Add rpath for common lib locations for jpackageapplauncher

Reviewed-by: ihse, asemenyuk, almatvee
This commit is contained in:
david 2023-01-24 03:07:16 +00:00 committed by Alexey Semenyuk
parent 2da2e5a0e8
commit 937ba1cadb

View File

@ -73,7 +73,7 @@ $(eval $(call SetupJdkExecutable, BUILD_JPACKAGE_APPLAUNCHEREXE, \
CXXFLAGS_windows := $(JPACKAGE_CXXFLAGS_windows), \
CFLAGS_windows := $(JPACKAGE_CFLAGS_windows), \
LDFLAGS := $(LDFLAGS_JDKEXE), \
LIBS_macosx := $(LIBCXX) -framework Cocoa, \
LIBS_macosx := $(LIBCXX) -framework Cocoa -rpath @executable_path/../Frameworks/ -rpath @executable_path/../PlugIns/, \
LIBS_windows := $(LIBCXX) user32.lib ole32.lib msi.lib shlwapi.lib \
Shell32.lib, \
LIBS_linux := -ldl, \