mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: liblog: Build library correctly.
* gnu/packages/android.scm (liblog)[arguments]<#:make-flags>: Add LDLIBS. <#:phases>[ldconfig]: New phase.
This commit is contained in:
parent
8bbf99ae25
commit
81abe37007
1 changed files with 7 additions and 2 deletions
|
@ -151,11 +151,16 @@ (define liblog
|
|||
(build-system android-ndk-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; TODO.
|
||||
#:make-flags '("CC=gcc")
|
||||
#:make-flags '("LDLIBS=-lpthread")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-source
|
||||
(lambda _ (chdir "liblog") #t)))))
|
||||
(lambda _ (chdir "liblog") #t))
|
||||
(add-after 'install 'ldconfig
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(symlink "liblog.so.0" (string-append out "/lib/liblog.so"))
|
||||
#t))))))
|
||||
(home-page "https://developer.android.com/")
|
||||
(synopsis "Logging library from the Android platform.")
|
||||
(description "@code{liblog} represents an interface to the volatile Android
|
||||
|
|
Loading…
Reference in a new issue