mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
qb: Improve the windres check.
This commit is contained in:
parent
8fc4a788e1
commit
98de418b7a
@ -84,12 +84,15 @@ if [ "$cxx_works" = '0' ] && [ "$USE_LANG_CXX" = 'yes' ]; then
|
||||
fi
|
||||
|
||||
if [ "$OS" = "Win32" ]; then
|
||||
echobuf="Checking for windres"
|
||||
if [ -z "$WINDRES" ]; then
|
||||
WINDRES="$(exists "${CROSS_COMPILE}windres")" || WINDRES=""
|
||||
[ -z "$WINDRES" ] && die 1 "$echobuf ... Not found. Exiting."
|
||||
printf %s 'Checking for windres ... '
|
||||
|
||||
WINDRES="${WINDRES:-$(exists "${CROSS_COMPILE}windres" || :)}"
|
||||
|
||||
printf %s\\n "${WINDRES:=none}"
|
||||
|
||||
if [ "$WINDRES" = none ]; then
|
||||
die 1 'Error: Cannot proceed without windres.'
|
||||
fi
|
||||
printf %s\\n "$echobuf ... $WINDRES"
|
||||
fi
|
||||
|
||||
printf %s 'Checking for pkg-config ... '
|
||||
|
Loading…
x
Reference in New Issue
Block a user