summarylogtreecommitdiffstats
path: root/0001-configure.ac-check-for-pthreads.patch
diff options
context:
space:
mode:
authorIvan Shapovalov2015-11-19 14:46:12 +0300
committerIvan Shapovalov2015-11-19 14:49:02 +0300
commitce689df20324704201a93006657098929e241e37 (patch)
tree2cb8fb2bc0aaa8a5e154061dbd02792195f893a1 /0001-configure.ac-check-for-pthreads.patch
parent5a068fabc10b2c5b3b9fc36905890feff6578480 (diff)
downloadaur-ce689df20324704201a93006657098929e241e37.tar.gz
Bump to r527.e2e83dc; patch build system to link to pthread.
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 00000000000..de2f7c5120e
--- /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
+