zlib: override LD{FLAGS,SHAREDLIBC} to make i686-musl build work.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'zlib'
|
# Template build file for 'zlib'
|
||||||
pkgname=zlib
|
pkgname=zlib
|
||||||
version=1.2.8
|
version=1.2.8
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
short_desc="A compression/decompression Library"
|
short_desc="A compression/decompression Library"
|
||||||
@@ -10,13 +10,9 @@ license="zlib"
|
|||||||
homepage="http://www.zlib.net"
|
homepage="http://www.zlib.net"
|
||||||
distfiles="$homepage/$pkgname-$version.tar.gz"
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
||||||
checksum=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
|
checksum=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
|
||||||
long_desc="
|
|
||||||
This is a general purpose data compression library. All the code
|
|
||||||
is thread safe. The data format used by the library is described
|
|
||||||
by RFCs (Request for Comments) 1950 to 1952."
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr --shared
|
LDFLAGS= LDSHAREDLIBC= ./configure --prefix=/usr --shared
|
||||||
}
|
}
|
||||||
|
|
||||||
zlib-devel_package() {
|
zlib-devel_package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user