mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: libsrtp: Build shared library.
* gnu/packages/telephony.scm (libsrtp)[arguments]: Add #:phases.
This commit is contained in:
parent
80af75abcf
commit
d18116d9b5
1 changed files with 13 additions and 1 deletions
|
@ -261,7 +261,19 @@ (define-public libsrtp
|
|||
("procps" ,procps)))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:test-target "runtest"))
|
||||
'(#:test-target "runtest"
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'build 'build-shared
|
||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||
;; Build the shared library separately because
|
||||
;; the test runner requires a static build.
|
||||
(apply invoke "make" "shared_library" make-flags)
|
||||
#t))
|
||||
(add-after 'install 'remove-static-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(delete-file (string-append (assoc-ref outputs "out")
|
||||
"/lib/libsrtp2.a"))
|
||||
#t)))))
|
||||
(synopsis "Secure RTP (SRTP) Reference Implementation")
|
||||
(description
|
||||
"This package provides an implementation of the Secure Real-time Transport
|
||||
|
|
Loading…
Reference in a new issue