1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-03 13:14:04 +00:00

Merge pull request from orbea/pkgconf

qb: Make the pkgconfig check more simple.
This commit is contained in:
Twinaphex 2019-11-01 11:21:48 +01:00 committed by GitHub
commit 72d416d5f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,14 +93,10 @@ if [ "$OS" = "Win32" ]; then
fi
if [ -z "$PKG_CONF_PATH" ]; then
PKG_CONF_PATH="none"
for pkgconf in pkgconf pkg-config; do
PKGCONF="$(exists "${CROSS_COMPILE}${pkgconf}")" || PKGCONF=""
[ "$PKGCONF" ] && {
PKG_CONF_PATH="$PKGCONF"
break
}
done
PKGCONF="$(exists "${CROSS_COMPILE}pkgconf" ||
exists "${CROSS_COMPILE}pkg-config" || :)"
PKG_CONF_PATH="${PKGCONF:-none}"
fi
printf %s\\n "Checking for pkg-config ... $PKG_CONF_PATH"