]> code.delx.au - pulseaudio/commitdiff
build: Fix distcheck failure on libwebrtc-util
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 19 Jul 2012 11:25:03 +0000 (16:55 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 19 Jul 2012 11:25:03 +0000 (16:55 +0530)
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

index 65b2743bd329fd1faf66468518cd260dbc842932..63ad83729686b654a50c226291c7b11ca9e0fefe 100644 (file)
@@ -1846,6 +1846,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