mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
Fix Autotools configure on macOS
This commit is contained in:
parent
5d1c0777f3
commit
77209fa248
@ -50,7 +50,7 @@ eval "pkg_LIBS=\${pkg_cv_[]$1[]_LIBS}"
|
||||
CFLAGS="$CFLAGS $pkg_CFLAGS"
|
||||
LIBS="$LIBS $pkg_LIBS"
|
||||
|
||||
AC_TRY_LINK([], puts ("");, pkg_link=yes, pkg_link=no)
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]], [puts ("")])], pkg_link=yes, pkg_link=no)
|
||||
|
||||
CFLAGS=$pkg_link_saved_CFLAGS
|
||||
LIBS=$pkg_link_saved_LIBS
|
||||
|
Loading…
Reference in New Issue
Block a user