[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: liblog: Build library correctly.
From: |
Danny Milosavljevic |
Subject: |
12/12: gnu: liblog: Build library correctly. |
Date: |
Wed, 9 May 2018 16:34:58 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 81abe370075188e718264dd76e7584c12adb482a
Author: Danny Milosavljevic <address@hidden>
Date: Wed May 9 21:45:13 2018 +0200
gnu: liblog: Build library correctly.
* gnu/packages/android.scm (liblog)[arguments]<#:make-flags>: Add LDLIBS.
<#:phases>[ldconfig]: New phase.
---
gnu/packages/android.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 2da0a24..2e5f1d5 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -151,11 +151,16 @@ use their packages mostly unmodified in our Android NDK
build system.")
(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
- branch master updated (ad23a3f -> 81abe37), Danny Milosavljevic, 2018/05/09
- 01/12: gnu: Patch Android system core at the origin., Danny Milosavljevic, 2018/05/09
- 06/12: gnu: libcutils: Install header files., Danny Milosavljevic, 2018/05/09
- 03/12: gnu: Add android-libsparse., Danny Milosavljevic, 2018/05/09
- 04/12: gnu: Add android-safe-iop., Danny Milosavljevic, 2018/05/09
- 07/12: gnu: Add android-libselinux., Danny Milosavljevic, 2018/05/09
- 08/12: gnu: Add android-ext4-utils., Danny Milosavljevic, 2018/05/09
- 05/12: gnu: Add android-bionic-uapi., Danny Milosavljevic, 2018/05/09
- 12/12: gnu: liblog: Build library correctly.,
Danny Milosavljevic <=
- 11/12: gnu: android-make-stub: Update to 0.4., Danny Milosavljevic, 2018/05/09
- 10/12: gnu: Add android-libutils., Danny Milosavljevic, 2018/05/09
- 09/12: gnu: Add android-f2fs-utils., Danny Milosavljevic, 2018/05/09
- 02/12: gnu: Add android-libziparchive., Danny Milosavljevic, 2018/05/09