[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: miniupnpc: Allow executables to find libupnp.so.
From: |
Ludovic Courtès |
Subject: |
04/04: gnu: miniupnpc: Allow executables to find libupnp.so. |
Date: |
Tue, 14 Apr 2015 08:04:08 +0000 |
civodul pushed a commit to branch core-updates
in repository guix.
commit caf0c0a9e97be5c71e676dc20437d8bbaec593d6
Author: Ludovic Courtès <address@hidden>
Date: Tue Apr 14 10:00:40 2015 +0200
gnu: miniupnpc: Allow executables to find libupnp.so.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Pass
"LDFLAGS=-Wl,-rpath=...".
---
gnu/packages/upnp.scm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm
index a1a18d2..c46e905 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/")