]> git.sesse.net Git - ffmpeg/commitdiff
configure: Enable the strtod workaround when building for bionic
authorMartin Storsjö <martin@martin.st>
Tue, 21 May 2013 08:43:00 +0000 (11:43 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 21 May 2013 16:37:07 +0000 (19:37 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index bf511edf35d8bdeaa4be2e753c2e613a9bfb5d64..e3cf0b9f8f354a204c83b8e1ea2c799c66839c38 100755 (executable)
--- a/configure
+++ b/configure
@@ -3210,6 +3210,9 @@ elif check_func_headers stdlib.h _get_doserrno; then
     check_cpp_condition stdlib.h "defined(_WIN32_WINNT)" || add_cppflags -D_WIN32_WINNT=0x0502
 elif check_cpp_condition stddef.h "defined __KLIBC__"; then
     libc_type=klibc
+elif check_cpp_condition sys/cdefs.h "defined __BIONIC__"; then
+    libc_type=bionic
+    add_compat strtod.o strtod=avpriv_strtod
 fi
 
 test -n "$libc_type" && enable $libc_type