summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-23 20:48:51 +0000
committerMans Rullgard <mans@mansr.com>2011-01-23 21:33:31 +0000
commita1e4b3f6d322f61fc8ccae6ecd2586e04ceb7026 (patch)
treeb2a78bd6acd0ca93715bc3ebe7b21829468d0dc4 /configure
parent7a5a168abe36c91087e58d89262a3658d21ea2cc (diff)
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 63eadca383..4c24152745 100755
--- a/configure
+++ b/configure
@@ -2306,6 +2306,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
@@ -2318,11 +2319,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)