mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
nginx: patch Makefile in a way that works on musl too.
This commit is contained in:
parent
ca93d12921
commit
ce4a129dbe
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nginx'
|
# Template file for 'nginx'
|
||||||
pkgname=nginx
|
pkgname=nginx
|
||||||
version=1.8.1
|
version=1.8.1
|
||||||
revision=3
|
revision=4
|
||||||
makedepends="pcre-devel libressl-devel $(vopt_if geoip geoip-devel)"
|
makedepends="pcre-devel libressl-devel $(vopt_if geoip geoip-devel)"
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# fake configure run on host
|
# fake configure run on host
|
||||||
|
@ -73,7 +73,7 @@ do_configure() {
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i 's/-lpthread/$(LDFLAGS) &/' objs/Makefile
|
sed -i 's/-lcrypt/$(LDFLAGS) &/' objs/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue