diff --git a/Makefile b/Makefile index b394fd54fa..87943b8ed4 100644 --- a/Makefile +++ b/Makefile @@ -172,6 +172,7 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE # Make sure pkg-config doesn't look outside the buildroot tree unexport PKG_CONFIG_PATH +unexport PKG_CONFIG_SYSROOT_DIR # Having DESTDIR set in the environment confuses the installation # steps of some packages.