nginx: patch Makefile in a way that works on musl too.

This commit is contained in:
Christian Neukirchen 2016-05-21 23:50:40 +02:00
parent ca93d12921
commit ce4a129dbe

View file

@ -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() {