summarylogtreecommitdiffstats
path: root/idevicerestore-0001-configure.ac-check-for-pthreads.patch
blob: 0e55384d8792b274723e456b73ef1d305f41a5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 9481d9fcf04203477dca4d503524c042fe63ab0e Mon Sep 17 00:00:00 2001
From: Ivan Shapovalov <intelfx100@gmail.com>
Date: Fri, 25 Sep 2015 23:37:27 +0300
Subject: [PATCH 1/2] configure.ac: check for pthreads

Fixes building at least on Arch.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 8f20317..df7ac04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,7 @@ AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
 
 # Checks for libraries.
+AC_SEARCH_LIBS([pthread_create], [pthread])
 PKG_CHECK_MODULES(libirecovery, libirecovery >= 0.2.0)
 PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= 1.2.1)
 PKG_CHECK_MODULES(libplist, libplist >= 1.0)
-- 
2.20.1