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 17:07:57 +0530
commitcd96e2c4e9cf770574b47ac9ce46c2d7478461dd (patch)
treeaaa238c23e6d00ca121a4f022ac5254dfc15bcff
parent7af7c98756902a32f988c00de8c1aac18c1e79eb (diff)
build: Fix distcheck failure on libwebrtc-util
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 187e0307..9b71b171 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