Enable OSS and use SONAME on FreeBSD.

From Tobias Kortkamp <tobik@FreeBSD.org>, thanks!
This commit is contained in:
Alexandre Ratchov 2018-01-15 18:26:10 +01:00
parent f76d93d479
commit 2de5100143
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -80,8 +80,10 @@ case `uname` in
-DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
;;
DragonFly|FreeBSD)
oss=yes
umidi=yes
user=_sndio
so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}.\${MIN}"
so_link="libsndio.so"
defs='-DHAVE_ARC4RANDOM -DHAVE_ISSETUGID \\\
-DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRTONUM \\\