diff --git a/emulators/dosbox-staging/Makefile b/emulators/dosbox-staging/Makefile
index 0f2ac93fccb23420fb8bef1eee5589cb93de6579..cb6417cb85317fb351d0a1c2fd970bdd5c3285b3 100644
--- a/emulators/dosbox-staging/Makefile
+++ b/emulators/dosbox-staging/Makefile
@@ -20,7 +20,7 @@ USE_SDL=	sdl2 net2
 USE_GITHUB=	yes
 
 MESON_ARGS=	-Duse_mt32emu=false
-LDFLAGS+=	-pthread
+LDFLAGS+=	-pthread -lz
 
 OPTIONS_DEFINE=	ALSA DOCS FLUIDSYNTH
 OPTIONS_DEFAULT=	FLUIDSYNTH