From 6c0dfb195c1ff65a60ab6f0e297fd37ea3d4c841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Wed, 15 Apr 2015 19:07:55 +0800 Subject: [PATCH] gnu: wine: Add $libdir to the RUNPATH of binaries. * gnu/packages/wine.scm (wine)[arguments]: Add #:configure-flags. --- gnu/packages/wine.scm | 3 +++ 1 file changed, 3 insertions(+) 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