mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-27 03:56:06 +00:00
qb: Fix HAVE_RETRO check.
This commit is contained in:
parent
352fbc7cc7
commit
2cc6505997
@ -128,12 +128,12 @@ fi
|
||||
if [ "$LIBRETRO" ]; then
|
||||
die : 'Notice: Explicit libretro used, disabling dynamic libretro loading ...'
|
||||
HAVE_DYNAMIC='no'
|
||||
else LIBRETRO="-lretro"
|
||||
else
|
||||
LIBRETRO="-lretro"
|
||||
fi
|
||||
|
||||
[ "$HAVE_DYNAMIC" = 'yes' ] || {
|
||||
#check_lib '' RETRO "$LIBRETRO" retro_init "$DYLIB" "Cannot find libretro, did you forget --with-libretro=\"-lretro\"?"
|
||||
check_lib '' RETRO "$LIBRETRO" "$DYLIB" "Cannot find libretro, did you forget --with-libretro=\"-lretro\"?"
|
||||
check_lib '' RETRO "$LIBRETRO" retro_init "$DYLIB" '' 'Cannot find libretro, did you forget --with-libretro="-lretro"?'
|
||||
add_define MAKEFILE libretro "$LIBRETRO"
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ check_enabled()
|
||||
# $3 = lib
|
||||
# $4 = function in lib
|
||||
# $5 = extralibs
|
||||
# $6 = headers
|
||||
# $6 = headers [checked only if non-empty]
|
||||
# $7 = critical error message [checked only if non-empty]
|
||||
check_lib()
|
||||
{ tmpval="$(eval "printf %s \"\$HAVE_$2\"")"
|
||||
|
Loading…
x
Reference in New Issue
Block a user