diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-11-14 11:46:05 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-11-14 11:46:05 +0100 |
commit | a668a94238dc67b19ae187b52a161e027d79ee5d (patch) | |
tree | 4b934cd2b075e6cfeaa60309f6beca1d30c019d5 | |
parent | 4597577750b66b08e3e3340f13861fdc480252e7 (diff) | |
download | alsa-lib-a668a94238dc67b19ae187b52a161e027d79ee5d.tar.gz |
mixer: Don't install smixer modules unless python is enabled
Currently the whole smixer stuff depends on python, so it doesn't make
sense to install plugins partially when the python support is
disabled.
This patch changes Makefile.am not to install the smixer stuff at all
when the python support is disabled via configure script.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | modules/mixer/simple/Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/mixer/simple/Makefile.am b/modules/mixer/simple/Makefile.am index cb64ee8c..c21dd07d 100644 --- a/modules/mixer/simple/Makefile.am +++ b/modules/mixer/simple/Makefile.am @@ -1,3 +1,4 @@ +if BUILD_PYTHON alsaplugindir = @ALSA_PLUGIN_DIR@ pkglibdir = $(alsaplugindir)/smixer @@ -9,9 +10,7 @@ pkglib_LTLIBRARIES = smixer-sbase.la \ smixer-ac97.la \ smixer-hda.la -if BUILD_PYTHON pkglib_LTLIBRARIES += smixer-python.la -endif noinst_HEADERS = sbase.h @@ -27,7 +26,6 @@ smixer_hda_la_SOURCES = hda.c sbasedl.c smixer_hda_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) smixer_hda_la_LIBADD = ../../../src/libasound.la -ldl -if BUILD_PYTHON smixer_python_la_SOURCES = python.c smixer_python_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) smixer_python_la_CFLAGS = $(PYTHON_INCLUDES) |