mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
sid: Fix cross-compilation by using AC_TRY_LINK instead of AC_TRY_RUN
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917899
This commit is contained in:
parent
2365d2b5d7
commit
248f174c3e
1 changed files with 2 additions and 6 deletions
|
@ -16,13 +16,9 @@ if test $HAVE_SIDPLAY = "yes"; then
|
|||
|
||||
LIBS="-lsidplay"
|
||||
|
||||
AC_TRY_RUN([
|
||||
#include <sidplay/player.h>
|
||||
int main()
|
||||
{ sidTune tune = sidTune(0); }
|
||||
],
|
||||
AC_TRY_LINK([#include <sidplay/player.h>],
|
||||
[sidTune tune = sidTune(0);],
|
||||
HAVE_SIDPLAY="yes",
|
||||
HAVE_SIDPLAY="no",
|
||||
HAVE_SIDPLAY="no")
|
||||
|
||||
LIBS="$ac_libs_safe"
|
||||
|
|
Loading…
Reference in a new issue