libgpg-error: disable weak references to pthreads
Fix on-device build.
This commit is contained in:
parent
98ff32c9e3
commit
1e0b5d3f9c
12
packages/libgpg-error/pthreads-no-weak.patch
Normal file
12
packages/libgpg-error/pthreads-no-weak.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr libgpg-error-1.36/m4/threadlib.m4 libgpg-error-1.36.mod/m4/threadlib.m4
|
||||
--- libgpg-error-1.36/m4/threadlib.m4 2016-11-12 21:02:56.000000000 +0200
|
||||
+++ libgpg-error-1.36.mod/m4/threadlib.m4 2019-08-16 21:23:04.646225294 +0300
|
||||
@@ -213,8 +213,6 @@
|
||||
[Define if the POSIX multithreading library can be used.])
|
||||
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
|
||||
if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
|
||||
- AC_DEFINE([USE_POSIX_THREADS_WEAK], [1],
|
||||
- [Define if references to the POSIX multithreading library should be made weak.])
|
||||
LIBTHREAD=
|
||||
LTLIBTHREAD=
|
||||
fi
|
Loading…
Reference in New Issue
Block a user