From 2ea3d46f1341716daa1370f0f19d1fc571c3e63a Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Mon, 30 Apr 2018 16:13:12 +0200 Subject: Makefile: move OS-specific libs to configure script --- configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index ee57a7f..2a510c7 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3