summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-05-21 11:43:00 +0300
committerMartin Storsjö <martin@martin.st>2013-05-21 19:37:07 +0300
commit5b2b0b912dbcd6ee8b598254b083c58d4847ef02 (patch)
treef85d9816fee98db5eb79f937655b0c25a3b2a666 /configure
parent03ece7b0404f0104b71adc9c69051689863c4e4a (diff)
downloadffmpeg-streaming-5b2b0b912dbcd6ee8b598254b083c58d4847ef02.zip
ffmpeg-streaming-5b2b0b912dbcd6ee8b598254b083c58d4847ef02.tar.gz
configure: Enable the strtod workaround when building for bionic
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
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
OpenPOWER on IntegriCloud