mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Allow build without libdl and libpthread
Allow building alsa-lib without libdl and libpthread. Added new options to configure, --with-libdl and --with-pthread.
This commit is contained in:
parent
9a75eec664
commit
70e4ec9d08
21 changed files with 118 additions and 25 deletions
|
|
@ -151,9 +151,11 @@ int snd_async_del_handler(snd_async_handler_t *handler)
|
|||
if (!list_empty(&handler->hlist))
|
||||
goto _end;
|
||||
switch (handler->type) {
|
||||
#ifdef BUILD_PCM
|
||||
case SND_ASYNC_HANDLER_PCM:
|
||||
err = snd_pcm_async(handler->u.pcm, -1, 1);
|
||||
break;
|
||||
#endif
|
||||
case SND_ASYNC_HANDLER_CTL:
|
||||
err = snd_ctl_async(handler->u.ctl, -1, 1);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue