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

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