-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #306 from phunkyfish/fix-android-ndk26
Fix android ndk26 for Piers branch
- Loading branch information
Showing
5 changed files
with
31 additions
and
2 deletions.
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
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
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
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