mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-27 07:00:09 -05:00
mixer: Don't build simple_abst when no libdl is available
Check BUILD_MODULES conditional not to compile simple_abst.c. Also return -ENXIO to caller statically in that case. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8d14698931
commit
1b428e7719
2 changed files with 15 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
|||
EXTRA_LTLIBRARIES=libmixer.la
|
||||
|
||||
libmixer_la_SOURCES = bag.c mixer.c simple.c simple_none.c simple_abst.c
|
||||
libmixer_la_SOURCES = bag.c mixer.c simple.c simple_none.c
|
||||
|
||||
if BUILD_MODULES
|
||||
libmixer_la_SOURCES += simple_abst.c
|
||||
endif
|
||||
|
||||
noinst_HEADERS = mixer_local.h mixer_simple.h
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue