Skip to content

Commit 5ccc464

Browse files
committed
Prioritize prefix package in PKG_CONFIG_PATH search path.
1 parent 4e84134 commit 5ccc464

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ fi
255255
# Set the prefix-based package config directory.
256256
PREFIX_PKG_CONFIG_DIR="$PREFIX/lib/pkgconfig"
257257

258-
# Augment PKG_CONFIG_PATH search path with our prefix.
259-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PREFIX_PKG_CONFIG_DIR"
258+
# Prioritize prefix package config in PKG_CONFIG_PATH search path.
259+
export PKG_CONFIG_PATH="$PREFIX_PKG_CONFIG_DIR:$PKG_CONFIG_PATH"
260260

261261
# Set a package config save path that can be passed via our builds.
262262
with_pkgconfigdir="--with-pkgconfigdir=$PREFIX_PKG_CONFIG_DIR"

0 commit comments

Comments
 (0)