From 246caaec3f1ae50b8d657f9d388747ef8f5ce7d2 Mon Sep 17 00:00:00 2001 From: "Joseph C. Osborn" Date: Mon, 14 Jul 2025 08:19:57 -0700 Subject: [PATCH] Emscripten makefile should use INCLUDE_DIRS from Makefile.common With this change, HAVE_ZSTD or HAVE_CHD can successfully be set for emscripten builds. This mirrors how other Makefiles use Makefile.common. --- Makefile.emscripten | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.emscripten b/Makefile.emscripten index 6d7cab21dc..d6d3751b8c 100644 --- a/Makefile.emscripten +++ b/Makefile.emscripten @@ -260,7 +260,10 @@ endif include Makefile.common -CFLAGS += $(DEF_FLAGS) -Ideps -Ideps/stb +DEF_FLAGS += $(INCLUDE_DIRS) -Ideps -Ideps/stb + +CFLAGS += $(DEF_FLAGS) +CXXFLAGS += $(DEF_FLAGS) -D__STDC_CONSTANT_MACROS libretro = libretro_new =