aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-05 22:00:53 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-05 22:00:53 +0200
commitef80cceddc3646a299d3b7c30e9b32ad89cca021 (patch)
treef4bf86e2557a248a55ff9b5d85f1a34a3fd301e1
parent4bfeb0ca74fca75febe62b8e059b0c5a6ddd622f (diff)
downloadguix-ef80cceddc3646a299d3b7c30e9b32ad89cca021.tar
guix-ef80cceddc3646a299d3b7c30e9b32ad89cca021.tar.gz
gnu: wxwidgets-2: Add $libdir to RUNPATH.
* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add #:make-flags, as for WXWIDGETS.
-rw-r--r--gnu/packages/wxwidgets.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index ee270ff105..b49fb2fe84 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -96,5 +96,8 @@ and many other languages.")
(arguments
`(#:configure-flags
'("--enable-unicode" "--with-regex=sys" "--with-sdl")
+ #:make-flags
+ (list (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib"))
;; No 'check' target.
#:tests? #f))))