summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-19 16:55:03 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-19 16:59:43 +0530
commit40713647e7e66d8f1d893618037e00c09bdeb99d (patch)
tree4b7f618498c87ae98c62cefc21e8f00fb709238b
parentc4655d10c6c11eec6dc472c0d04085f285d01bdd (diff)
build: Fix distcheck failure on libwebrtc-utilv2.1
Without -avoid-version, libtool creates a libwebrtc-util.so.0 and libwebrtc-util.so.0.0.0 which are not cleaned up by make uninstall, which in turn causes make distcheck to fail.
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 187e03071..9b71b171a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1842,6 +1842,7 @@ 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
libwebrtc_util_la_LIBADD = $(WEBRTC_LIBS)
+libwebrtc_util_la_LDFLAGS = -avoid-version
module_echo_cancel_la_CFLAGS += -DHAVE_WEBRTC=1
module_echo_cancel_la_LIBADD += libwebrtc-util.la