ppp: unbreak musl build.

Close #20150
This commit is contained in:
Juan RP 2020-03-18 11:01:59 +01:00
parent 25feb66e89
commit a7dc1b6ecc
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ conf_files="
CFLAGS="-D_GNU_SOURCE"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
do_configure() {
# Custom CFLAGS.
find -name "Makefile.linux" -exec sed -i "{}" \