crda: use prefixed pkg-config

This commit is contained in:
Matthew Bauer 2020-06-24 20:36:24 -04:00
parent 7a8b3b8b64
commit da8e991836

View file

@ -31,7 +31,9 @@ stdenv.mkDerivation rec {
postPatch = ''
patchShebangs utils/
substituteInPlace Makefile --replace ldconfig true
substituteInPlace Makefile \
--replace ldconfig true \
--replace pkg-config $PKG_CONFIG
sed -i crda.c \
-e "/\/usr\/.*\/regulatory.bin/d" \
-e "s|/lib/crda|${wireless-regdb}/lib/crda|g"