From 40713647e7e66d8f1d893618037e00c09bdeb99d Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 19 Jul 2012 16:55:03 +0530 Subject: [PATCH] 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. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4