diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-11 16:20:53 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-14 21:46:20 +0200 |
commit | 8874b4b4fe25b7fb47a1286ecde80708e9d5f0a2 (patch) | |
tree | 1980335f167e778dd8a2f031164e1eeb207d7455 /Ports/.hosted_defs.sh | |
parent | d8787e0e120b45a74e929cd256f9af561d4114a0 (diff) | |
download | serenity-8874b4b4fe25b7fb47a1286ecde80708e9d5f0a2.zip |
Ports: Make sure pkg-config only picks up packages from the target
Diffstat (limited to 'Ports/.hosted_defs.sh')
-rw-r--r-- | Ports/.hosted_defs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ports/.hosted_defs.sh b/Ports/.hosted_defs.sh index fa44d64b97..eeec19dc2d 100644 --- a/Ports/.hosted_defs.sh +++ b/Ports/.hosted_defs.sh @@ -8,3 +8,6 @@ export AR="${SERENITY_ARCH}-pc-serenity-ar" export RANLIB="${SERENITY_ARCH}-pc-serenity-ranlib" export PATH="${SERENITY_ROOT}/Toolchain/Local/${SERENITY_ARCH}/bin:${PATH}" export DESTDIR="${SERENITY_BUILD_DIR}/Root" +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" |