From 29a14294fc78480e69b9d211615ae6a50dc0c761 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20E=2E=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 21 Nov 2008 01:19:17 +0100 Subject: [PATCH] Make sure that python libraries are passed through LIBADD. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Also avoid an indirection by using $(PYTHON_LIBS) and $(PYTHON_INCLUDES) directly. Signed-off-by: Diego E. 'Flameeyes' Pettenò --- modules/mixer/simple/Makefile.am | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -- 2.47.3