diff options
Diffstat (limited to 'main/ffmpeg2.8/configure-dlvsym.patch')
-rw-r--r-- | main/ffmpeg2.8/configure-dlvsym.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/ffmpeg2.8/configure-dlvsym.patch b/main/ffmpeg2.8/configure-dlvsym.patch new file mode 100644 index 0000000000..0e74e45b5c --- /dev/null +++ b/main/ffmpeg2.8/configure-dlvsym.patch @@ -0,0 +1,28 @@ +--- ./configure.orig ++++ ./configure +@@ -1680,6 +1680,7 @@ + CoTaskMemFree + CryptGenRandom + dlopen ++ dlvsym + fcntl + flt_lim + fork +@@ -4997,14 +4998,15 @@ + -Wl,--wrap,sws_scale || + disable xmm_clobber_test + ++check_func dlvsym -lld + echo "X{};" > $TMPV + if test_ldflags -Wl,--version-script,$TMPV; then + append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver' +- check_cc <<EOF && enable symver_asm_label ++ enabled dlvsym && check_cc <<EOF && enable symver_asm_label + void ff_foo(void) __asm__ ("av_foo@VERSION"); + void ff_foo(void) { ${inline_asm+__asm__($quotes);} } + EOF +- check_cc <<EOF && enable symver_gnu_asm ++ enabled dlvsym && check_cc <<EOF && enable symver_gnu_asm + __asm__(".symver ff_foo,av_foo@VERSION"); + void ff_foo(void) {} + EOF |