From: Arun Raghavan Date: Thu, 19 Jul 2012 11:25:03 +0000 (+0530) Subject: build: Fix distcheck failure on libwebrtc-util X-Git-Tag: accepted/2.0alpha/20121114.171726~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40713647e7e66d8f1d893618037e00c09bdeb99d;p=profile%2Fivi%2Fpulseaudio.git 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. --- diff --git a/src/Makefile.am b/src/Makefile.am index 187e030..9b71b17 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