diff options
author | Quentin Rameau <quinq@fifth.space> | 2018-04-30 16:13:12 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-04-30 16:27:07 +0200 |
commit | f58ce841802e2f80df3cb90e3668836a4d3995b9 (patch) | |
tree | b0a1d2c09b84a8c211091cf6e610dba71dfbbae8 /configure | |
parent | ea151186b969120def7241d4516a587554227045 (diff) |
Makefile: move OS-specific libs to configure script
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |