[FFmpeg-cvslog] Disable symbol versioning on some BSDs

Mans Rullgard git
Wed Jan 26 04:01:14 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jan 23 20:48:51 2011 +0000| [355d05280a96246c60edb00277cb120cf62ba51b] | committer: Michael Niedermayer

Disable symbol versioning on some BSDs

Dragonfly, NetBSD, and OpenBSD do not support symbol versioning
although our link test passes.  Disable it explicitly for these
systems.

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit a1e4b3f6d322f61fc8ccae6ecd2586e04ceb7026)

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

 configure |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 001f00a..5d8fcb0 100755
--- a/configure
+++ b/configure
@@ -2307,6 +2307,7 @@ case $target_os in
         nm_opts='-P -g'
         ;;
     netbsd)
+        disable symver
         oss_indev_extralibs="-lossaudio"
         oss_outdev_extralibs="-lossaudio"
         add_cppflags -D_XOPEN_SOURCE=600
@@ -2319,11 +2320,16 @@ case $target_os in
         # (simply quits with exit-code 1, no crash, no output).
         # Thus explicitly enable PIC here.
         enable pic
+        disable symver
         SHFLAGS='-shared'
         oss_indev_extralibs="-lossaudio"
         oss_outdev_extralibs="-lossaudio"
         ;;
-    freebsd|dragonfly)
+    dragonfly)
+        enable malloc_aligned
+        disable symver
+        ;;
+    freebsd)
         enable malloc_aligned
         ;;
     bsd/os)




More information about the ffmpeg-cvslog mailing list