Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Makefile: move OS-specific libs to configure script
[slstatus.git]
/
configure
diff --git
a/configure
b/configure
index
ee57a7f
..
2a510c7
100755
(executable)
--- 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