Blame SOURCES/0003-build-Don-t-blindly-link-to-pthread.patch

71361e
From 44cf7726cac66c88afa0a752aff461e0c2918ebd Mon Sep 17 00:00:00 2001
71361e
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
71361e
Date: Thu, 30 Jun 2016 16:49:16 -0400
71361e
Subject: [PATCH 03/16] build: Don't blindly link to pthread
71361e
71361e
This otherwise breaks the build on Android and Windows. The flag is
71361e
required on some Linux builds, and is readded in a subsequent commit.
71361e
71361e
https://bugs.freedesktop.org/show_bug.cgi?id=96754
71361e
---
71361e
 webrtc/modules/audio_processing/Makefile.am | 3 +--
71361e
 1 file changed, 1 insertion(+), 2 deletions(-)
71361e
71361e
diff --git a/webrtc/modules/audio_processing/Makefile.am b/webrtc/modules/audio_processing/Makefile.am
71361e
index eb9bfc0..8e45e3d 100644
71361e
--- a/webrtc/modules/audio_processing/Makefile.am
71361e
+++ b/webrtc/modules/audio_processing/Makefile.am
71361e
@@ -173,8 +173,7 @@ libwebrtc_audio_processing_la_LIBADD = $(top_builddir)/webrtc/libwebrtc.la \
71361e
 				       $(top_builddir)/webrtc/common_audio/libcommon_audio.la \
71361e
 				       $(top_builddir)/webrtc/modules/audio_coding/libaudio_coding.la \
71361e
 				       $(LIBWEBRTC_PRIVATEARCH) \
71361e
-				       $(GNUSTL_LIBS) \
71361e
-				       -lpthread
71361e
+				       $(GNUSTL_LIBS)
71361e
 libwebrtc_audio_processing_la_LDFLAGS = $(AM_LDFLAGS) \
71361e
 					-Wl,--no-undefined \
71361e
 					-version-info $(LIBWEBRTC_AUDIO_PROCESSING_VERSION_INFO)
71361e
-- 
71361e
2.14.3
71361e