Don't compile in memstream for non-statically linked cores

This commit is contained in:
twinaphex
2016-04-07 01:36:54 +02:00
parent 68f07514c6
commit 1da84f497a

View File

@@ -8,7 +8,6 @@ SOURCES_C += $(CORE_DIR)/drivers/libretro/griffin.c
else
SOURCES_C += \
$(CORE_DIR)/drivers/libretro/libretro.c \
$(CORE_DIR)/memstream.c \
$(CORE_DIR)/cart.c \
$(CORE_DIR)/cheat.c \
$(CORE_DIR)/crc32.c \
@@ -30,6 +29,10 @@ SOURCES_C += \
$(CORE_DIR)/video.c \
$(CORE_DIR)/vsuni.c
ifneq ($(STATIC_LINKING),1)
SOURCES_C += $(CORE_DIR)/memstream.c
endif
ifeq ($(DEBUG),1)
SOURCES_C += $(CORE_DIR)/debug.c
endif