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)
This commit is contained in:
parent
d112aa5acc
commit
355d05280a
8
configure
vendored
8
configure
vendored
@ -2307,6 +2307,7 @@ case $target_os in
|
|||||||
nm_opts='-P -g'
|
nm_opts='-P -g'
|
||||||
;;
|
;;
|
||||||
netbsd)
|
netbsd)
|
||||||
|
disable symver
|
||||||
oss_indev_extralibs="-lossaudio"
|
oss_indev_extralibs="-lossaudio"
|
||||||
oss_outdev_extralibs="-lossaudio"
|
oss_outdev_extralibs="-lossaudio"
|
||||||
add_cppflags -D_XOPEN_SOURCE=600
|
add_cppflags -D_XOPEN_SOURCE=600
|
||||||
@ -2319,11 +2320,16 @@ case $target_os in
|
|||||||
# (simply quits with exit-code 1, no crash, no output).
|
# (simply quits with exit-code 1, no crash, no output).
|
||||||
# Thus explicitly enable PIC here.
|
# Thus explicitly enable PIC here.
|
||||||
enable pic
|
enable pic
|
||||||
|
disable symver
|
||||||
SHFLAGS='-shared'
|
SHFLAGS='-shared'
|
||||||
oss_indev_extralibs="-lossaudio"
|
oss_indev_extralibs="-lossaudio"
|
||||||
oss_outdev_extralibs="-lossaudio"
|
oss_outdev_extralibs="-lossaudio"
|
||||||
;;
|
;;
|
||||||
freebsd|dragonfly)
|
dragonfly)
|
||||||
|
enable malloc_aligned
|
||||||
|
disable symver
|
||||||
|
;;
|
||||||
|
freebsd)
|
||||||
enable malloc_aligned
|
enable malloc_aligned
|
||||||
;;
|
;;
|
||||||
bsd/os)
|
bsd/os)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user