gnu: miniupnpc: Allow executables to find libupnp.so.

* gnu/packages/upnp.scm (miniupnpc)[arguments]: Pass
  "LDFLAGS=-Wl,-rpath=...".
This commit is contained in:
Ludovic Courtès 2015-04-14 10:00:40 +02:00
parent e91d1d3133
commit caf0c0a9e9

@ -48,7 +48,11 @@
(string-append
"SH=" (assoc-ref %build-inputs "bash") "/bin/sh")
(string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
"CC=gcc")
"CC=gcc"
;; Allow executables to find libminiupnpc.so.
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))
#:phases
(alist-delete 'configure %standard-phases)))
(home-page "http://miniupnp.free.fr/")