mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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ò <flameeyes@gmail.com>
This commit is contained in:
parent
0b92e53cf9
commit
29a14294fc
1 changed files with 3 additions and 5 deletions
|
|
@ -1,7 +1,5 @@
|
||||||
alsaplugindir = @ALSA_PLUGIN_DIR@
|
alsaplugindir = @ALSA_PLUGIN_DIR@
|
||||||
pkglibdir = $(alsaplugindir)/smixer
|
pkglibdir = $(alsaplugindir)/smixer
|
||||||
pythonlibs = @PYTHON_LIBS@
|
|
||||||
pythonincludes = @PYTHON_INCLUDES@
|
|
||||||
|
|
||||||
AM_CFLAGS = -g -O2 -W -Wall
|
AM_CFLAGS = -g -O2 -W -Wall
|
||||||
|
|
||||||
|
|
@ -31,7 +29,7 @@ smixer_hda_la_LIBADD = ../../../src/libasound.la
|
||||||
|
|
||||||
if BUILD_PYTHON
|
if BUILD_PYTHON
|
||||||
smixer_python_la_SOURCES = python.c
|
smixer_python_la_SOURCES = python.c
|
||||||
smixer_python_la_LDFLAGS = -module -avoid-version $(pythonlibs) $(LDFLAGS_NOUNDEFINED)
|
smixer_python_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED)
|
||||||
smixer_python_la_CFLAGS = $(pythonincludes)
|
smixer_python_la_CFLAGS = $(PYTHON_INCLUDES)
|
||||||
smixer_python_la_LIBADD = ../../../src/libasound.la
|
smixer_python_la_LIBADD = ../../../src/libasound.la $(PYTHON_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue