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
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nginx'
pkgname=nginx
version=1.8.1
revision=3
revision=4
makedepends="pcre-devel libressl-devel $(vopt_if geoip geoip-devel)"
if [ "$CROSS_BUILD" ]; then
# fake configure run on host
@ -73,7 +73,7 @@ do_configure() {
esac
fi
sed -i 's/-lpthread/$(LDFLAGS) &/' objs/Makefile
sed -i 's/-lcrypt/$(LDFLAGS) &/' objs/Makefile
}
do_build() {