me
/
guix
Archived
1
0
Fork 0

gnu: android-liblog: Install headers.

* gnu/packages/android.scm (android-liblog): Install headers in a new
phase.
master
Julien Lepiller 2020-08-11 13:12:28 +02:00
parent a2954e2a44
commit ed62aa0af5
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 10 additions and 1 deletions

View File

@ -201,7 +201,16 @@ use their packages mostly unmodified in our Android NDK build system.")
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(symlink "liblog.so.0" (string-append out "/lib/liblog.so"))
#t))))))
#t)))
(add-after 'install 'install-headers
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(copy-recursively
"../include/log" (string-append out "/include/log"))
;; For android/log.h, the only header in the android directory.
(copy-recursively
"../include/android" (string-append out "/include/android")))
#t)))))
(home-page "https://developer.android.com/")
(synopsis "Logging library from the Android platform.")
(description "@code{liblog} represents an interface to the volatile Android