mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 03:10:37 +00:00
CONFIGURE: Try -lsonivox-static fallback when there's no pkg-config too
Upstream creates a libsonivox-static.a lib by default, and not all ports have pkg-config set up.
This commit is contained in:
parent
e0915f53e7
commit
7803535c97
13
configure
vendored
13
configure
vendored
@ -6011,9 +6011,16 @@ EOF
|
||||
SONIVOX_LIBS="`$_pkgconfig --static --libs sonivox`"
|
||||
cc_check_no_clean $SONIVOX_CFLAGS $SONIVOX_LIBS && _sonivox=yes
|
||||
fi
|
||||
if test "$_sonivox" != yes && test "$_pkg_config" = "yes" && $_pkgconfig --exists sonivox-static; then
|
||||
SONIVOX_LIBS="`$_pkgconfig --static --libs sonivox-static`"
|
||||
cc_check_no_clean $SONIVOX_CFLAGS $SONIVOX_LIBS && _sonivox=yes
|
||||
if test "$_sonivox" != yes ; then
|
||||
if test "$_pkg_config" = "yes" && $_pkgconfig --exists sonivox-static; then
|
||||
SONIVOX_LIBS="`$_pkgconfig --static --libs sonivox-static`"
|
||||
cc_check_no_clean $SONIVOX_CFLAGS $SONIVOX_LIBS && _sonivox=yes
|
||||
fi
|
||||
|
||||
if test "$_sonivox" != yes ; then
|
||||
SONIVOX_LIBS="-lsonivox-static"
|
||||
cc_check_no_clean $SONIVOX_CFLAGS $SONIVOX_LIBS && _sonivox=yes
|
||||
fi
|
||||
fi
|
||||
cc_check_clean
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user