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.
This commit is contained in:
parent
7ab68b6c83
commit
7576761543
Notes:
sideshowbarker
2024-07-18 19:01:47 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/7576761543c Pull-request: https://github.com/SerenityOS/serenity/pull/6688
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue