From ad12aced6c1e48648ef27654ce43d01705b48bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 7 Sep 2022 21:55:22 +0200 Subject: [PATCH] Another attempt at fixing libretro, this time the win build failed --- libretro/Makefile.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro/Makefile.common b/libretro/Makefile.common index 836d8a2cfe..4dc521e2d6 100644 --- a/libretro/Makefile.common +++ b/libretro/Makefile.common @@ -801,9 +801,11 @@ SOURCES_C += $(ZSTDDIR)/common/debug.c \ $(ZSTDDIR)/dictBuilder/fastcover.c \ $(ZSTDDIR)/dictBuilder/zdict.c +ifneq (,$(findstring msvc,$(platform))) ifeq ($(TARGET_ARCH),x86_64) SOURCES_C += $(ZSTDDIR)/decompress/huf_decompress_amd64.S endif +endif ifneq ($(STATIC_LINKING), 1) SOURCES_C += \