diff options
author | Gonzalo Exequiel Pedone | 2022-06-18 15:44:31 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2022-06-18 15:44:31 -0300 |
commit | 77376c4a8209aa0b87c7e455b3c045a9e2fbd0d0 (patch) | |
tree | bce629631b9895947d2ef9ed70c8a40c55748132 | |
parent | df2754b81071f5698894fecd4fd005cbdefd7577 (diff) | |
download | aur-77376c4a8209aa0b87c7e455b3c045a9e2fbd0d0.tar.gz |
Fix missing dynamic library.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 0002-Fix-CC-definition.patch | 11 | ||||
-rw-r--r-- | PKGBUILD | 9 |
3 files changed, 20 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = android-x86-64-zlib pkgdesc = A compression/decompression Library (android) pkgver = 1.2.12 - pkgrel = 1 + pkgrel = 2 url = http://www.zlib.net/ arch = any license = custom:zlib @@ -14,7 +14,9 @@ pkgbase = android-x86-64-zlib options = !emptydirs source = http://zlib.net/zlib-1.2.12.tar.gz source = 0001-Disable-versioning.patch + source = 0002-Fix-CC-definition.patch md5sums = 5fc414a9726be31427b440b434d05f78 md5sums = 3e04fe1f84d547ea0ca318463e319ab7 + md5sums = 2420be2579d725c1cf1e0aac7ae0a4fe pkgname = android-x86-64-zlib diff --git a/0002-Fix-CC-definition.patch b/0002-Fix-CC-definition.patch new file mode 100644 index 000000000000..a005ad8b62ea --- /dev/null +++ b/0002-Fix-CC-definition.patch @@ -0,0 +1,11 @@ +--- a/configure 2022-03-27 20:39:42.000000000 -0300 ++++ a/configure 2022-06-18 15:34:56.148397566 -0300 +@@ -174,6 +174,8 @@ + else + cc=${CROSS_PREFIX}cc + fi ++else ++ cc=${CC} + fi + cflags=${CFLAGS-"-O3"} + # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure @@ -4,7 +4,7 @@ _android_arch=x86-64 pkgname=android-${_android_arch}-zlib pkgver=1.2.12 -pkgrel=1 +pkgrel=2 pkgdesc="A compression/decompression Library (android)" arch=('any') url="http://www.zlib.net/" @@ -13,15 +13,18 @@ depends=('android-ndk') options=(!strip !buildflags staticlibs !emptydirs) makedepends=('android-environment' 'android-pkg-config') source=("http://zlib.net/zlib-${pkgver}.tar.gz" - "0001-Disable-versioning.patch") + "0001-Disable-versioning.patch" + "0002-Fix-CC-definition.patch") md5sums=('5fc414a9726be31427b440b434d05f78' - '3e04fe1f84d547ea0ca318463e319ab7') + '3e04fe1f84d547ea0ca318463e319ab7' + '2420be2579d725c1cf1e0aac7ae0a4fe') prepare() { cd "${srcdir}"/zlib-${pkgver} source android-env ${_android_arch} patch -Np1 -i ../0001-Disable-versioning.patch + patch -Np1 -i ../0002-Fix-CC-definition.patch } build() { |