diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2023-09-21 14:14:45 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2023-09-21 20:36:13 +0200 |
commit | ec8c5d027f87bb39ce3fd03c40a13d7b316d9dac (patch) | |
tree | bf37bc36b013a38ec1c067af8dd0f3d12debcdd1 /gnu/packages/patches | |
parent | fc1b85740adefcef2056702a82b1d95ebce8fb0e (diff) | |
download | guix-ec8c5d027f87bb39ce3fd03c40a13d7b316d9dac.tar.gz guix-ec8c5d027f87bb39ce3fd03c40a13d7b316d9dac.zip |
gnu: Add openjdk@21.
* 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.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/openjdk-21-fix-rpath.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/openjdk-21-fix-rpath.patch b/gnu/packages/patches/openjdk-21-fix-rpath.patch new file mode 100644 index 0000000000..62e2a50a52 --- /dev/null +++ b/gnu/packages/patches/openjdk-21-fix-rpath.patch @@ -0,0 +1,16 @@ +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, \ + )) |