mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
alsa.m4: another fix to not link all binaries with -latopology
Preserve LIBS when the -latopology is tested. It's added later. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f47f1e6ff7
commit
78fea15390
1 changed files with 2 additions and 0 deletions
|
|
@ -160,11 +160,13 @@ AC_CHECK_LIB([asound], [snd_ctl_open],,
|
|||
)
|
||||
if test "x$enable_atopology" = "xyes"; then
|
||||
alsa_topology_found=yes
|
||||
alsa_save_LIBS2="$LIBS"
|
||||
AC_CHECK_LIB([atopology], [snd_tplg_new],,
|
||||
[ifelse([$3], , [AC_MSG_ERROR(No linkable libatopology was found.)])
|
||||
alsa_topology_found=no,
|
||||
]
|
||||
)
|
||||
LIBS="$alsa_save_LIBS2"
|
||||
fi
|
||||
else
|
||||
if test "x$enable_atopology" = "xyes"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue