OSDN Git Service

Fix compiling on OpenBSD for OSS rather than OpenAL
[cinnamon-audio/cinnamon.git] / src / makefile
index 1db1299..d565826 100755 (executable)
@@ -7,10 +7,15 @@
 
 BACKEND?=oss
 
+CURDIR=${PWD}
 .if "${BACKEND}" == "dsound"
 LINK?=$(CXX)
 .else
 LINK=$(CC)
 .endif
 
+.if ${BACKEND} == oss
+EXTRALIBS=-lossaudio -lpthread
+.endif
+
 .include "unix.mk"