mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
qb: Make the pkgconfig check more simple.
This commit is contained in:
parent
8809932b49
commit
14e159decf
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user