mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
ec8c5d027f
* gnu/packages/java.scm (openjdk21): New variable. * gnu/packages/patches/openjdk-21-fix-rpath.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
16 lines
733 B
Diff
16 lines
733 B
Diff
Author: Danny Milosavljevic <dannym@scratchpost.org>
|
|
Date: 2023-09-20
|
|
|
|
diff -ru openjdk-21/make/modules/jdk.internal.le/Lib.gmk.orig openjdk-21.drv-4/source/make/modules/jdk.internal.le/Lib.gmk
|
|
--- openjdk-21/make/modules/jdk.internal.le/Lib.gmk.orig 1970-01-01 01:00:01.000000000 +0100
|
|
+++ openjdk-21/make/modules/jdk.internal.le/Lib.gmk 2023-09-20 21:42:04.626821839 +0200
|
|
@@ -34,7 +34,8 @@
|
|
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
|
|
OPTIMIZATION := LOW, \
|
|
CFLAGS := $(CXXFLAGS_JDKLIB), \
|
|
- LDFLAGS := $(LDFLAGS_JDKLIB), \
|
|
+ LDFLAGS := $(LDFLAGS_JDKLIB) \
|
|
+ $(call SET_SHARED_LIBRARY_ORIGIN), \
|
|
LIBS_unix := $(JDKLIB_LIBS) $(LIBCXX), \
|
|
LIBS_windows := $(JDKLIB_LIBS) user32.lib, \
|
|
))
|