diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-08-31 19:28:33 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-08-31 20:32:50 +0200 |
commit | 55d6b357a937166ba19beb036b87519293e3bc2d (patch) | |
tree | a6c166a2081ce365ac2a00790699895910a861b2 | |
parent | 5237aa444da9c6063a5b2a0865b22c1255d72864 (diff) | |
download | guix-55d6b357a937166ba19beb036b87519293e3bc2d.tar.gz guix-55d6b357a937166ba19beb036b87519293e3bc2d.zip |
gnu: rtmpdump: Don't install the static library.
* gnu/packages/networking.scm (rtmpdump)[arguments]: Add
an ‘omit-static-library’ phase.
-rw-r--r-- | gnu/packages/networking.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index e80c192a50..1340bef8f0 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -280,6 +280,14 @@ GLib-based library, libnice, as well as GStreamer elements to use it.") (string-append "prefix=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases + (add-after 'unpack 'omit-static-library + (lambda _ + (substitute* "librtmp/Makefile" + (("cp librtmp\\.a .*") ; don't install it + "") + (("librtmp\\.a ") ; don't build it + "")) + #t)) (delete 'configure)))) (inputs `(("openssl" ,openssl-1.0) |