Don't compile in memstream for non-statically linked cores
This commit is contained in:
@@ -8,7 +8,6 @@ SOURCES_C += $(CORE_DIR)/drivers/libretro/griffin.c
|
|||||||
else
|
else
|
||||||
SOURCES_C += \
|
SOURCES_C += \
|
||||||
$(CORE_DIR)/drivers/libretro/libretro.c \
|
$(CORE_DIR)/drivers/libretro/libretro.c \
|
||||||
$(CORE_DIR)/memstream.c \
|
|
||||||
$(CORE_DIR)/cart.c \
|
$(CORE_DIR)/cart.c \
|
||||||
$(CORE_DIR)/cheat.c \
|
$(CORE_DIR)/cheat.c \
|
||||||
$(CORE_DIR)/crc32.c \
|
$(CORE_DIR)/crc32.c \
|
||||||
@@ -30,6 +29,10 @@ SOURCES_C += \
|
|||||||
$(CORE_DIR)/video.c \
|
$(CORE_DIR)/video.c \
|
||||||
$(CORE_DIR)/vsuni.c
|
$(CORE_DIR)/vsuni.c
|
||||||
|
|
||||||
|
ifneq ($(STATIC_LINKING),1)
|
||||||
|
SOURCES_C += $(CORE_DIR)/memstream.c
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
SOURCES_C += $(CORE_DIR)/debug.c
|
SOURCES_C += $(CORE_DIR)/debug.c
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user