mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2025-02-01 21:21:05 +00:00
Fix cross-compile of zlib.
zlib's configure script is hand-rolled and works differently to the usual autotools ones.
This commit is contained in:
parent
025423c7a5
commit
fdba92aae9
1 changed files with 8 additions and 0 deletions
|
@ -2,3 +2,11 @@ PACKAGE_VERSION=1.2.8
|
|||
PACKAGE_URL=http://zlib.net/zlib-${PACKAGE_VERSION}.tar.gz
|
||||
PKGCONFIG_NAME=zlib
|
||||
|
||||
# zlib's configure script is hand-rolled and doesn't support the normal
|
||||
# --host option because, well, who knows.
|
||||
do_build() {
|
||||
CC="$BUILD_HOST-gcc" ./configure --prefix="$PACKAGE_INSTALL_DIR" \
|
||||
--static
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue