From 7576761543cb05df7743c31d6f53f9cf0e77e20d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 27 Apr 2021 17:09:38 +0200 Subject: Ports: Use HOST_PATH when updating the PATH variable Previously we'd just append to the existing PATH environment variable rather than resetting it to HOST_PATH first. --- Ports/.hosted_defs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ports/.hosted_defs.sh') diff --git a/Ports/.hosted_defs.sh b/Ports/.hosted_defs.sh index 89e89b04e5..5a3724abe7 100644 --- a/Ports/.hosted_defs.sh +++ b/Ports/.hosted_defs.sh @@ -5,7 +5,7 @@ export CC="${SERENITY_ARCH}-pc-serenity-gcc" export CXX="${SERENITY_ARCH}-pc-serenity-g++" export AR="${SERENITY_ARCH}-pc-serenity-ar" export RANLIB="${SERENITY_ARCH}-pc-serenity-ranlib" -export PATH="${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin:${PATH}" +export PATH="${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin:${HOST_PATH}" export PKG_CONFIG_DIR="" export PKG_CONFIG_SYSROOT_DIR="${SERENITY_BUILD_DIR}/Root" export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/usr/lib/pkgconfig/:${PKG_CONFIG_SYSROOT_DIR}/usr/local/lib/pkgconfig" -- cgit v1.2.3