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

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