Skip to content

Commit

Permalink
Merge pull request msys2#4135 from lazka/cross-zlib-1.2.11
Browse files Browse the repository at this point in the history
cross-zlib: rebuild
  • Loading branch information
lazka authored Oct 30, 2023
2 parents cf312df + 96cc318 commit f086540
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mingw-w64-cross-zlib/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ _mingw_suff=mingw-w64-cross
pkgname=("${_mingw_suff}-${_realname}")
pkgdesc="Compression library implementing the deflate compression method found in gzip and PKZIP"
pkgver=1.2.11
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="https://mingw-w64.sourceforge.io/"
license=('custom')
groups=("${_mingw_suff}-toolchain" "${_mingw_suff}")
depends=()
makedepends=("${_mingw_suff}-gcc" 'autotools')
options=('staticlibs' '!strip' '!libtool' '!emptydirs' '!buildflags')
source=("https://zlib.net/current/${_realname}-${pkgver}.tar.gz"
options=('!buildflags')
source=("https://zlib.net/fossils/${_realname}-${pkgver}.tar.gz"
01-zlib-1.2.11-1-buildsys.mingw.patch
02-no-undefined.mingw.patch
03-dont-put-sodir-into-L.mingw.patch)
Expand Down Expand Up @@ -41,6 +41,7 @@ build() {
msg "Configuring ${_realname} for ${_target}"
cp -rf ${srcdir}/${_realname}-${pkgver} ${srcdir}/${_realname}-${_target}
cd ${srcdir}/${_realname}-${_target}
unset CC CXX
CHOST=${_target} ./configure --prefix=/opt/${_target} --shared
make
done
Expand Down

0 comments on commit f086540

Please sign in to comment.