summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-06-30 16:49:16 -0400
committerArun Raghavan <arun@arunraghavan.net>2016-07-14 12:57:28 +0900
commit44cf7726cac66c88afa0a752aff461e0c2918ebd (patch)
treedee7532b9ad3350484ee5892b222139060e38be4
parent560f300a3d84bbd2b48173aaee5166584d917c44 (diff)
build: Don't blindly link to pthread
This otherwise breaks the build on Android and Windows. The flag is required on some Linux builds, and is readded in a subsequent commit. https://bugs.freedesktop.org/show_bug.cgi?id=96754
-rw-r--r--webrtc/modules/audio_processing/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/webrtc/modules/audio_processing/Makefile.am b/webrtc/modules/audio_processing/Makefile.am
index eb9bfc0..8e45e3d 100644
--- a/webrtc/modules/audio_processing/Makefile.am
+++ b/webrtc/modules/audio_processing/Makefile.am
@@ -173,8 +173,7 @@ libwebrtc_audio_processing_la_LIBADD = $(top_builddir)/webrtc/libwebrtc.la \
$(top_builddir)/webrtc/common_audio/libcommon_audio.la \
$(top_builddir)/webrtc/modules/audio_coding/libaudio_coding.la \
$(LIBWEBRTC_PRIVATEARCH) \
- $(GNUSTL_LIBS) \
- -lpthread
+ $(GNUSTL_LIBS)
libwebrtc_audio_processing_la_LDFLAGS = $(AM_LDFLAGS) \
-Wl,--no-undefined \
-version-info $(LIBWEBRTC_AUDIO_PROCESSING_VERSION_INFO)