summarylogtreecommitdiffstats
path: root/0002-Remove-lpthread.patch
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-03-19 01:41:37 -0300
committerGonzalo Exequiel Pedone2024-03-19 01:41:37 -0300
commit14d2bccaa70b52e274fddc368fcca935736e53dd (patch)
tree8e6e8cb8a63b2701b87ccd75a078011a7997e128 /0002-Remove-lpthread.patch
parentb20a47d8d500c157c8d39e93a295b7159a76e2a1 (diff)
downloadaur-android-armv7a-eabi-x264.tar.gz
Package updated.
Diffstat (limited to '0002-Remove-lpthread.patch')
-rw-r--r--0002-Remove-lpthread.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/0002-Remove-lpthread.patch b/0002-Remove-lpthread.patch
new file mode 100644
index 000000000000..67cbab5fce13
--- /dev/null
+++ b/0002-Remove-lpthread.patch
@@ -0,0 +1,14 @@
+--- a/configure
++++ b/configure
+@@ -1049,9 +1049,9 @@
+ cc_check pthread.h -lc "pthread_create(0,0,0,0);" && thread="posix" && libpthread="-lc"
+ ;;
+ *)
+- if cc_check pthread.h -lpthread "pthread_create(0,0,0,0);" ; then
++ if cc_check pthread.h "" "pthread_create(0,0,0,0);" ; then
+ thread="posix"
+- libpthread="-lpthread"
++ libpthread=""
+ else
+ cc_check pthread.h "" "pthread_create(0,0,0,0);" && thread="posix" && libpthread=""
+ fi