projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6597e08
)
Fix build on Android
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 20 Feb 2013 15:04:01 +0000
(16:04 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 20 Feb 2013 15:04:01 +0000
(16:04 +0100)
Android doesn't have a libpthread and includes all relevant functions
in libc.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
00e1916
..
114a602
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-109,6
+109,11
@@
case "${host_os}" in
mingw*|pw32*|cygwin*)
AC_DEFINE(HAVE_THREAD_WIN32, 1, [Use Windows thread code])
;;
+ *android*)
+ AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
+ PTHREAD_CFLAGS=
+ PTHREAD_LIBS=
+ ;;
*)
AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
PTHREAD_CFLAGS=