Skip to content

Commit 0df71c3

Browse files
committed
Prioritize prefix package in PKG_CONFIG_PATH search path.
1 parent 3067d07 commit 0df71c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)