unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 62e2a50a52dbbf008b6ee723eadf05b203408fe1 733 bytes (raw)
name: packages/patches/openjdk-21-fix-rpath.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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, \
   ))

debug log:

solving 62e2a50a52dbbf008b6ee723eadf05b203408fe1 ...
found 62e2a50a52dbbf008b6ee723eadf05b203408fe1 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).