From de74a7ea10a37f50d25c1d5d94fcf0a8a9463c81 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 24 Jan 2005 08:37:06 +0000 Subject: [PATCH] OpenBSD and NetBSD need -lossaudio for /dev/dsp emulation. --- src/xpdev/Common.gmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xpdev/Common.gmake b/src/xpdev/Common.gmake index b14aa6cb39..3b4ba4245e 100644 --- a/src/xpdev/Common.gmake +++ b/src/xpdev/Common.gmake @@ -1,2 +1,10 @@ XPDEV_LIBS += -lm XPDEV-MT_LIBS += -lm +ifeq ($(os),netbsd) # NetBSD + XPDEV_LIBS += -lossaudio + XPDEV-MT_LIBS += -lossaudio +endif +ifeq ($(os),openbsd) # OpenBSD + XPDEV_LIBS += -lossaudio + XPDEV-MT_LIBS += -lossaudio +endif -- GitLab