From f58ce841802e2f80df3cb90e3668836a4d3995b9 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