diff --git a/src/xpdev/Common.gmake b/src/xpdev/Common.gmake index b14aa6cb397e2b4ac7c7efb247463515ecd3009a..3b4ba4245ea9c9459ad6f40caa2f8a1fbfd0f584 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