Makefile: move OS-specific libs to configure script

This commit is contained in:
Quentin Rameau
2018-04-30 16:13:12 +02:00
committed by Aaron Marcher
parent 95665e437b
commit 2ea3d46f13
3 changed files with 9 additions and 5 deletions

9
configure vendored
View File

@ -1,3 +1,10 @@
#!/bin/sh
printf 'OS = %s\n' "$(uname)" > os.mk
os="$(uname)"
printf 'OS = %s\n' "$os" > os.mk
if [ "$os" = "OpenBSD" ]
then
printf 'OSLIBS = -lossaudio\n' >> os.mk
fi