summarylogtreecommitdiffstats
path: root/0001-configure.ac-check-for-pthreads.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-configure.ac-check-for-pthreads.patch')
-rw-r--r--0001-configure.ac-check-for-pthreads.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-configure.ac-check-for-pthreads.patch b/0001-configure.ac-check-for-pthreads.patch
new file mode 100644
index 000000000000..de2f7c5120e9
--- /dev/null
+++ b/0001-configure.ac-check-for-pthreads.patch
@@ -0,0 +1,25 @@
+From 162a079123f81f14287dcd6d3e5b4488dc6981ee Mon Sep 17 00:00:00 2001
+From: Ivan Shapovalov <intelfx100@gmail.com>
+Date: Fri, 25 Sep 2015 23:37:27 +0300
+Subject: [PATCH] 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 d36cc67..950ef02 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,6 +35,7 @@ AM_PROG_CC_C_O
+ AC_PROG_LIBTOOL
+
+ # Checks for libraries.
++AC_SEARCH_LIBS([pthread_create], [pthread])
+ PKG_CHECK_MODULES(libirecovery, libirecovery >= $LIBIRECOVERY_VERSION)
+ PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= $LIBIMOBILEDEVICE_VERSION)
+ PKG_CHECK_MODULES(libplist, libplist >= $LIBPLIST_VERSION)
+--
+2.6.2
+