aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-15 19:07:55 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-15 19:07:55 +0800
commit6c0dfb195c1ff65a60ab6f0e297fd37ea3d4c841 (patch)
tree1128c13a4f5564cbfa66c5bb63c5622aab08e992 /gnu/packages
parentd43ba6f851e7acc4487d7682abada4573315d3e6 (diff)
downloadpatches-6c0dfb195c1ff65a60ab6f0e297fd37ea3d4c841.tar
patches-6c0dfb195c1ff65a60ab6f0e297fd37ea3d4c841.tar.gz
gnu: wine: Add $libdir to the RUNPATH of binaries.
* gnu/packages/wine.scm (wine)[arguments]: Add #:configure-flags.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/wine.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index cc7b28f464..5b0758c6b2 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -108,6 +108,9 @@
;; pass.
#:tests? #f
+ #:configure-flags
+ (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
+
#:phases
(alist-cons-after
'configure 'patch-dlopen-paths