summarylogtreecommitdiffstats
path: root/0002-Remove-lpthread.patch
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-03-19 01:41:14 -0300
committerGonzalo Exequiel Pedone2024-03-19 01:41:14 -0300
commit13841a888f824ec27e65c815ddc06c8e4974a118 (patch)
treee1093c362956408b519ecb43b5cf300257600b08 /0002-Remove-lpthread.patch
parent2ebac5731ebae361025378498940052b8cc2b531 (diff)
downloadaur-android-aarch64-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