From 283d52ef73236b74c96e5ea47af8894cb06e9256 Mon Sep 17 00:00:00 2001 From: Leo Ma Date: Fri, 5 May 2017 10:06:02 +0800 Subject: [PATCH] Modify x264 configure to activate pthread on NDK Signed-off-by: Leo Ma --- library/src/main/cpp/libx264/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/cpp/libx264/configure b/library/src/main/cpp/libx264/configure index 293d008..4cbc24d 100755 --- a/library/src/main/cpp/libx264/configure +++ b/library/src/main/cpp/libx264/configure @@ -999,7 +999,7 @@ elif [ "$thread" != "no" ] ; then 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 -lc "pthread_create(0,0,0,0);" ; then thread="posix" libpthread="-lpthread" else