gnu: wxwidgets-2: Add $libdir to RUNPATH.
authorLudovic Courtès <ludo@gnu.org>
Tue, 5 May 2015 20:00:53 +0000 (22:00 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 5 May 2015 20:00:53 +0000 (22:00 +0200)
* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add #:make-flags,
  as for WXWIDGETS.

gnu/packages/wxwidgets.scm

index ee270ff..b49fb2f 100644 (file)
@@ -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))))