diff --git a/scripts/build b/scripts/build index 074cd8544c..c6c231d6f7 100755 --- a/scripts/build +++ b/scripts/build @@ -384,7 +384,7 @@ pkg_call_exists_opt post_make_${TARGET} && pkg_call # Hack around directly writing/modifying the content of a shared sysroot # by temporarily installing new files to a package specific sysroot -PKG_ORIG_SYSROOT_PREFIX="${SYSROOT_PREFIX}" +export PKG_ORIG_SYSROOT_PREFIX="${SYSROOT_PREFIX}" export SYSROOT_PREFIX="${BUILD}/.sysroot/${PKG_NAME}.${TARGET}" rm -rf "${SYSROOT_PREFIX}"