diff options
author | Gonzalo Exequiel Pedone | 2024-04-02 19:41:05 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2024-04-02 19:41:05 -0300 |
commit | 2fe2f5b68a534355c415c39214e04d6dd6164ea6 (patch) | |
tree | 7e8575e0f820d61e258b495c442d4c95b5468a99 /PKGBUILD | |
parent | 4dcd00849ea7e179ecb759c96f9808f5e004f558 (diff) | |
download | aur-android-x86-64-npth.tar.gz |
Enabled rwlock.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,7 +6,7 @@ _android_arch=x86-64 pkgname=android-${_android_arch}-npth pkgver=1.7 -pkgrel=2 +pkgrel=3 arch=('any') pkgdesc="The new GNU portable threads library (Android ${_android_arch})" url="https://www.gnupg.org/software/npth/index.html" @@ -25,6 +25,7 @@ prepare() { sed -i 's|have_ld_version_script=yes|have_ld_version_script=no|g' configure sed -i '/config_libs \$LIB_CLOCK_GETTIME/d' configure sed -i 's|@NPTH_CONFIG_LIBS@|-lnpth|g' npth.pc.in + sed -i 's|@INSERT_EXPOSE_RWLOCK_API@|1|g' src/npth.h.in } build() { @@ -32,7 +33,7 @@ build() { source android-env ${_android_arch} export ac_cv_search_pthread_cancel=yes - export ac_cv_type_pthread_rwlock_t=no + export ac_cv_type_pthread_rwlock_t=yes export ac_cv_search_clock_gettime=yes android-${_android_arch}-configure \ --disable-tests |