diff --git a/make/CompileLaunchers.gmk b/make/CompileLaunchers.gmk index 02531c09d45e7852fc88d28f288ca11630c99c17..1e764088fdc173abbcc5e0cda70927f014d32d2c 100644 --- a/make/CompileLaunchers.gmk +++ b/make/CompileLaunchers.gmk @@ -488,7 +488,7 @@ $(eval $(call SetupNativeCompilation,BUILD_UNPACKEXE, \ CFLAGS_solaris := -KPIC, \ CFLAGS_macosx := -fPIC, \ MAPFILE := $(UNPACK_MAPFILE),\ - LDFLAGS := $(UNPACKEXE_ZIPOBJS), \ + LDFLAGS := $(UNPACKEXE_ZIPOBJS) $(ORIGIN_ARG),\ LDFLAGS_windows := $(CXXFLAGS_JDKEXE), \ LDFLAGS_posix := $(LDFLAGS_JDKEXE) $(LDFLAGS_CXX_JDK) \ $(call SET_SHARED_LIBRARY_NAME,$(LIBRARY_PREFIX)unpack$(SHARED_LIBRARY_SUFFIX)) \