Checking for retro_init symbol inside libretro.a causes more issues than
it solves - .a file can be either a C++ or C-oriented core, hence we'd need two consecutive checks, but both just do exit 0 on error
This commit is contained in:
parent
78c251f66b
commit
d82a65089f
|
@ -126,7 +126,8 @@ else LIBRETRO="-lretro"
|
|||
fi
|
||||
|
||||
[ "$HAVE_DYNAMIC" = 'yes' ] || {
|
||||
check_lib_cxx RETRO "$LIBRETRO" retro_init "$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\"?"
|
||||
check_lib RETRO "$LIBRETRO" "$DYLIB" "Cannot find libretro, did you forget --with-libretro=\"-lretro\"?"
|
||||
add_define_make libretro "$LIBRETRO"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue