mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
(qb) Fix for PKG_CONF_PATH=none
This commit is contained in:
parent
1970e8005a
commit
d3abc809c7
@ -79,8 +79,9 @@ if [ "$OS" = "Win32" ]; then
|
||||
echo "$ECHOBUF ... $WINDRES"
|
||||
fi
|
||||
|
||||
[ "$PKG_CONF_PATH" ] && [ "$PKG_CONF_PATH" != "none" ] || {
|
||||
ECHOBUF="Checking for pkg-config"
|
||||
ECHOBUF="Checking for pkg-config"
|
||||
|
||||
[ -n "$PKG_CONF_PATH" ] || {
|
||||
PKG_CONF_PATH="none"
|
||||
|
||||
for path in $(which "${CROSS_COMPILE}pkg-config" 2>/dev/null) ''; do
|
||||
@ -90,8 +91,10 @@ fi
|
||||
}
|
||||
done
|
||||
|
||||
echo "$ECHOBUF ... $PKG_CONF_PATH"
|
||||
if [ "$PKG_CONF_PATH" = "none" ]; then
|
||||
echo "Warning: pkg-config not found, package checks will fail."
|
||||
fi
|
||||
}
|
||||
|
||||
echo "$ECHOBUF ... $PKG_CONF_PATH"
|
||||
|
||||
if [ "$PKG_CONF_PATH" = "none" ]; then
|
||||
echo "Warning: pkg-config not found, package checks will fail."
|
||||
fi
|
||||
|
@ -108,6 +108,7 @@ check_pkgconf() #$1 = HAVE_$1 $2 = package $3 = version $4 = critical error mess
|
||||
[ "$3" ] && ECHOBUF="$ECHOBUF >= $3"
|
||||
|
||||
[ "$PKG_CONF_PATH" = "none" ] && {
|
||||
eval HAVE_$1="no"
|
||||
echo "$ECHOBUF ... no"
|
||||
return 0
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user