mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 01:50:33 +00:00
f543bbdc7e
%ci:no-build
22 lines
462 B
Diff
22 lines
462 B
Diff
The bypassed test program is confirmed to exit success on device.
|
|
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -150,14 +150,14 @@
|
|
elif test "$OS" = "SOLARIS"; then
|
|
LDFLAGS="$LDFLAGS -lpthread"
|
|
fi
|
|
- AC_RUN_IFELSE([AC_LANG_SOURCE([
|
|
+ AC_LINK_IFELSE([AC_LANG_SOURCE([
|
|
[#include <pthread.h>
|
|
void
|
|
init_routine()
|
|
{
|
|
return;
|
|
}
|
|
-main()
|
|
+int main()
|
|
{
|
|
pthread_once_t once_control = PTHREAD_ONCE_INIT;
|
|
pthread_once(&once_control, &init_routine);
|