unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob cec4ddc0a3457d01a279786549aaf881b95fb38f 611 bytes (raw)
name: packages/patches/qtbase-absolute-runpath.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
Do not use $ORIGIN in RUNPATH so that executables can be copied elsewhere and
still be expected to work (needed for python-pyside-2-tools).

diff --git a/mkspecs/common/linux.conf b/mkspecs/common/linux.conf
--- a/mkspecs/common/linux.conf
+++ b/mkspecs/common/linux.conf
@@ -10,8 +10,8 @@ QMAKE_CFLAGS_THREAD    += -D_REENTRANT
 QMAKE_CXXFLAGS_THREAD  += $$QMAKE_CFLAGS_THREAD
 QMAKE_LFLAGS_GCSECTIONS = -Wl,--gc-sections
 
-QMAKE_LFLAGS_REL_RPATH  = -Wl,-z,origin
-QMAKE_REL_RPATH_BASE    = $ORIGIN
+QMAKE_LFLAGS_REL_RPATH  =
+QMAKE_REL_RPATH_BASE    =
 
 QMAKE_INCDIR            =
 QMAKE_LIBDIR            =

debug log:

solving cec4ddc0a3457d01a279786549aaf881b95fb38f ...
found cec4ddc0a3457d01a279786549aaf881b95fb38f 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).