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.
This commit is contained in:
Joseph C. Osborn 2025-07-14 08:19:57 -07:00
parent 3eb8589550
commit 246caaec3f
1 changed files with 4 additions and 1 deletions

View File

@ -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 =