Browse code

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@mansr.com>
(cherry picked from commit a1e4b3f6d322f61fc8ccae6ecd2586e04ceb7026)

Mans Rullgard authored on 2011/01/24 05:48:51
Showing 1 changed files
... ...
@@ -2307,6 +2307,7 @@ case $target_os in
2307 2307
         nm_opts='-P -g'
2308 2308
         ;;
2309 2309
     netbsd)
2310
+        disable symver
2310 2311
         oss_indev_extralibs="-lossaudio"
2311 2312
         oss_outdev_extralibs="-lossaudio"
2312 2313
         add_cppflags -D_XOPEN_SOURCE=600
... ...
@@ -2319,11 +2320,16 @@ case $target_os in
2319 2319
         # (simply quits with exit-code 1, no crash, no output).
2320 2320
         # Thus explicitly enable PIC here.
2321 2321
         enable pic
2322
+        disable symver
2322 2323
         SHFLAGS='-shared'
2323 2324
         oss_indev_extralibs="-lossaudio"
2324 2325
         oss_outdev_extralibs="-lossaudio"
2325 2326
         ;;
2326
-    freebsd|dragonfly)
2327
+    dragonfly)
2328
+        enable malloc_aligned
2329
+        disable symver
2330
+        ;;
2331
+    freebsd)
2327 2332
         enable malloc_aligned
2328 2333
         ;;
2329 2334
     bsd/os)