diff options
-rw-r--r-- | emulators/snes9x-gtk/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index 00098d0e285..852398fdc0b 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2020/03/10 22:09:47 wiz Exp $ +# $NetBSD: Makefile,v 1.74 2020/03/27 07:55:40 nia Exp $ PKGREVISION= 5 .include "../../emulators/snes9x/Makefile.common" @@ -27,6 +27,10 @@ SUBST_STAGE.oss= pre-configure SUBST_MESSAGE.oss= Correct path to OSS device. SUBST_FILES.oss+= gtk/src/gtk_sound_driver_oss.cpp SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g" +LDFLAGS+= ${LIBOSSAUDIO} +MESON_ARGS+= -Doss=true +.else +MESON_ARGS+= -Doss=false .endif LDFLAGS.SunOS+= -lsocket -lnsl |