diff options
author | Gonzalo Exequiel Pedone | 2022-06-18 15:45:00 -0300 |
---|---|---|
committer | Gonzalo Exequiel Pedone | 2022-06-18 15:45:00 -0300 |
commit | 8bb39f81b1e0bdc07d05d348a46d04cf4233afdd (patch) | |
tree | 9f796f3b7d9bfc457e6875e74f62ae8a843864a0 | |
parent | babd726f1e1706e4775c5a3bc308f75a1c8d52a3 (diff) | |
download | aur-8bb39f81b1e0bdc07d05d348a46d04cf4233afdd.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-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-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-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 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() { |