]> code.delx.au - pulseaudio/commitdiff
build-sys: webrtc-utils needs to be installed before module-echo-cancel
authorSjoerd Simons <sjoerd@luon.net>
Fri, 20 Jul 2012 19:18:26 +0000 (19:18 +0000)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 4 Aug 2012 06:31:42 +0000 (08:31 +0200)
Like other plugin helper libraries these need to be installed
before the plugins that use them..

src/Makefile.am

index aba850cb057a855a1207d440e5bfa16a597b2f83..7f947bd365e073a5fcce3acfd25b55338a5f2fb7 100644 (file)
@@ -917,6 +917,10 @@ modlibexec_LTLIBRARIES = \
                libprotocol-http.la \
                libprotocol-native.la
 
+if HAVE_WEBRTC
+modlibexec_LTLIBRARIES += libwebrtc-util.la
+endif
+
 if HAVE_ESOUND
 modlibexec_LTLIBRARIES += \
                libprotocol-esound.la
@@ -1848,7 +1852,6 @@ if HAVE_WEBRTC
 # The webrtc code is split off into a helper library to avoid having automake
 # link module-echo-cancel with C++ (which it does if there are any C++ deps,
 # even conditional ones).
-modlibexec_LTLIBRARIES += libwebrtc-util.la
 
 libwebrtc_util_la_SOURCES = modules/echo-cancel/webrtc.cc
 libwebrtc_util_la_CXXFLAGS = $(AM_CXXFLAGS) $(SERVER_CFLAGS) $(WEBRTC_CFLAGS) -DHAVE_WEBRTC=1