-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch for pthread create and compile option for Android NDK 26 co…
…mpatibility with libzvbi
- Loading branch information
1 parent
1a1a842
commit f6f3c9c
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --color -aur a/configure.ac b/configure.ac | ||
--- a/configure.ac 2023-08-25 16:50:40 | ||
+++ b/configure.ac 2024-08-13 11:48:38 | ||
@@ -248,7 +248,7 @@ | ||
dnl When upgrading to autoconf 2.71, AC_TRY_LINK deprecated and replaced | ||
dnl with AC_LINK_IFELSE. | ||
dnl | ||
-AC_CHECK_LIB(pthread, pthread_create,,[ | ||
+AC_SEARCH_LIBS([pthread_create], [pthread pthreads],,[ | ||
AC_CHECK_LIB(pthreadGC2, pthread_create,,[ | ||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[pthread_create();]])],[],[ | ||
# same as previous, but use '-pthread' instead of '-lpthread' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters