From: Diego E. 'Flameeyes' Pettenò Date: Fri, 21 Nov 2008 00:19:17 +0000 (+0100) Subject: Make sure that python libraries are passed through LIBADD. X-Git-Tag: v1.0.19~13 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=29a14294fc78480e69b9d211615ae6a50dc0c761;p=alsa-lib.git Make sure that python libraries are passed through LIBADD. Also avoid an indirection by using $(PYTHON_LIBS) and $(PYTHON_INCLUDES) directly. Signed-off-by: Diego E. 'Flameeyes' Pettenò --- diff --git a/modules/mixer/simple/Makefile.am b/modules/mixer/simple/Makefile.am index 789f6b57..f73871fa 100644 --- a/modules/mixer/simple/Makefile.am +++ b/modules/mixer/simple/Makefile.am @@ -1,7 +1,5 @@ alsaplugindir = @ALSA_PLUGIN_DIR@ pkglibdir = $(alsaplugindir)/smixer -pythonlibs = @PYTHON_LIBS@ -pythonincludes = @PYTHON_INCLUDES@ AM_CFLAGS = -g -O2 -W -Wall @@ -31,7 +29,7 @@ smixer_hda_la_LIBADD = ../../../src/libasound.la if BUILD_PYTHON smixer_python_la_SOURCES = python.c -smixer_python_la_LDFLAGS = -module -avoid-version $(pythonlibs) $(LDFLAGS_NOUNDEFINED) -smixer_python_la_CFLAGS = $(pythonincludes) -smixer_python_la_LIBADD = ../../../src/libasound.la +smixer_python_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) +smixer_python_la_CFLAGS = $(PYTHON_INCLUDES) +smixer_python_la_LIBADD = ../../../src/libasound.la $(PYTHON_LIBS) endif