From 55d6b357a937166ba19beb036b87519293e3bc2d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 31 Aug 2020 19:28:33 +0200 Subject: gnu: rtmpdump: Don't install the static library. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/networking.scm (rtmpdump)[arguments]: Add an ‘omit-static-library’ phase. --- gnu/packages/networking.scm | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- cgit v1.2.3