mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -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)))
|
("procps" ,procps)))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(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")
|
(synopsis "Secure RTP (SRTP) Reference Implementation")
|
||||||
(description
|
(description
|
||||||
"This package provides an implementation of the Secure Real-time Transport
|
"This package provides an implementation of the Secure Real-time Transport
|
||||||
|
|
Loading…
Reference in a new issue