mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
build-sys: Make echo-cancel use speex cflags/libs conditionally
This commit is contained in:
parent
3e7b6e8cb5
commit
6a12d96233
1 changed files with 4 additions and 2 deletions
|
|
@ -2021,8 +2021,8 @@ module_echo_cancel_la_SOURCES = \
|
||||||
modules/echo-cancel/null.c \
|
modules/echo-cancel/null.c \
|
||||||
modules/echo-cancel/echo-cancel.h
|
modules/echo-cancel/echo-cancel.h
|
||||||
module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
|
module_echo_cancel_la_LDFLAGS = $(MODULE_LDFLAGS)
|
||||||
module_echo_cancel_la_LIBADD = $(MODULE_LIBADD) $(LIBSPEEX_LIBS)
|
module_echo_cancel_la_LIBADD = $(MODULE_LIBADD)
|
||||||
module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS) $(LIBSPEEX_CFLAGS)
|
module_echo_cancel_la_CFLAGS = $(AM_CFLAGS) $(SERVER_CFLAGS)
|
||||||
if HAVE_ADRIAN_EC
|
if HAVE_ADRIAN_EC
|
||||||
module_echo_cancel_la_SOURCES += \
|
module_echo_cancel_la_SOURCES += \
|
||||||
modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
|
modules/echo-cancel/adrian-aec.c modules/echo-cancel/adrian-aec.h \
|
||||||
|
|
@ -2039,6 +2039,8 @@ endif
|
||||||
endif
|
endif
|
||||||
if HAVE_SPEEX
|
if HAVE_SPEEX
|
||||||
module_echo_cancel_la_SOURCES += modules/echo-cancel/speex.c
|
module_echo_cancel_la_SOURCES += modules/echo-cancel/speex.c
|
||||||
|
module_echo_cancel_la_CFLAGS += $(LIBSPEEX_CFLAGS)
|
||||||
|
module_echo_cancel_la_LIBADD += $(LIBSPEEX_LIBS)
|
||||||
endif
|
endif
|
||||||
if HAVE_WEBRTC
|
if HAVE_WEBRTC
|
||||||
# The webrtc code is split off into a helper library to avoid having automake
|
# The webrtc code is split off into a helper library to avoid having automake
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue