fix for emscripten 3
@@ -691,7 +691,6 @@ INCFLAGS += -I$(NP2_PATH)/sdl2/libretro \
-I$(NP2_PATH)/i386c/ia32/instructions/fpu
SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro.c \
- $(NP2_PATH)/sdl2/libretro/rsemaphore.c \
$(wildcard $(NP2_PATH)/i386c/*.c) \
$(wildcard $(NP2_PATH)/i386c/ia32/*.c) \
$(wildcard $(NP2_PATH)/i386c/ia32/instructions/*.c) \
@@ -780,6 +779,10 @@ SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/compat/compat_strcasestr.
endif
endif
+ifneq ($(platform), emscripten)
+ SOURCES_C += $(NP2_PATH)/sdl2/libretro/rsemaphore.c
+endif
+
ifeq ($(platform), windows_msvc2003_x86)
INCFLAGS += -I$(NP2_PATH)/sdl2/libretro/libretro-common/include/compat/msvc
endif
