From ff6218a8a3181525cb52a87dec160208555f583d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 6 Jul 2021 02:31:32 +0300 Subject: [PATCH] gcompat: silence pkgconf errors --- extra/gcompat/build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extra/gcompat/build b/extra/gcompat/build index 8ebd4c8d..d18b51ef 100755 --- a/extra/gcompat/build +++ b/extra/gcompat/build @@ -3,6 +3,13 @@ sed 's|/lib|/usr/lib|g' Makefile > _ mv -f _ Makefile +# pkgconf is only used to check for obstack support +# which we don't have. The build works fine without +# this line, this just hides the errors. +# +# Also see: https://github.com/pullmoll/musl-obstack/ +export PKG_CONFIG=/bin/true + make LINKER_PATH=/usr/lib/ld-musl-x86_64.so.1 make DESTDIR="$1" install