diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-04-27 17:09:38 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-27 18:01:43 +0200 |
commit | 7576761543cb05df7743c31d6f53f9cf0e77e20d (patch) | |
tree | 58827d1d2129942069cefa5d16e21efcfe9e3cdd /Ports | |
parent | 7ab68b6c83a543a7891af92d479c03131909886a (diff) | |
download | serenity-7576761543cb05df7743c31d6f53f9cf0e77e20d.zip |
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.
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/.hosted_defs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |