aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/upnp.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-14 10:00:40 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-14 10:03:24 +0200
commitcaf0c0a9e97be5c71e676dc20437d8bbaec593d6 (patch)
tree0780bc4197e207e53dafff9d081b4815c78fe429 /gnu/packages/upnp.scm
parente91d1d3133fd986c782969a3333bf09c5292b305 (diff)
downloadpatches-caf0c0a9e97be5c71e676dc20437d8bbaec593d6.tar
patches-caf0c0a9e97be5c71e676dc20437d8bbaec593d6.tar.gz
gnu: miniupnpc: Allow executables to find libupnp.so.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Pass "LDFLAGS=-Wl,-rpath=...".
Diffstat (limited to 'gnu/packages/upnp.scm')
-rw-r--r--gnu/packages/upnp.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm
index a1a18d272c..c46e905c42 100644
--- a/gnu/packages/upnp.scm
+++ b/gnu/packages/upnp.scm
@@ -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/")