Modify x264 configure to activate pthread on NDK

Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
camera2
Leo Ma 8 years ago
parent 4e69fd9204
commit 283d52ef73

@ -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

Loading…
Cancel
Save