Browse Source

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

* gnu/packages/upnp.scm (miniupnpc)[arguments]: Pass
  "LDFLAGS=-Wl,-rpath=...".
gn-latest-20200428
Ludovic Courtès 6 years ago
parent
commit
caf0c0a9e9
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      gnu/packages/upnp.scm

+ 5
- 1
gnu/packages/upnp.scm View File

@ -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/")


Loading…
Cancel
Save