Skip to content

Commit 936e903

Browse files
committed
Prioritize prefix package in PKG_CONFIG_PATH search path.
1 parent f8437ad commit 936e903

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
@@ -261,8 +261,8 @@ fi
261261
# Set the prefix-based package config directory.
262262
PREFIX_PKG_CONFIG_DIR="$PREFIX/lib/pkgconfig"
263263

264-
# Augment PKG_CONFIG_PATH search path with our prefix.
265-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PREFIX_PKG_CONFIG_DIR"
264+
# Prioritize prefix package config in PKG_CONFIG_PATH search path.
265+
export PKG_CONFIG_PATH="$PREFIX_PKG_CONFIG_DIR:$PKG_CONFIG_PATH"
266266

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

0 commit comments

Comments
 (0)