[FFmpeg-cvslog] configure: Enable the strtod workaround when building for bionic

Martin Storsjö git at videolan.org
Wed May 22 11:24:20 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue May 21 11:43:00 2013 +0300| [5b2b0b912dbcd6ee8b598254b083c58d4847ef02] | committer: Martin Storsjö

configure: Enable the strtod workaround when building for bionic

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b2b0b912dbcd6ee8b598254b083c58d4847ef02
---

 configure |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index bf511ed..e3cf0b9 100755
--- 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



More information about the ffmpeg-cvslog mailing list