Do not strip debug library

This commit is contained in:
Allege 2024-02-08 06:39:28 +11:00 committed by GitHub
parent 6ec854969f
commit 6be5a20bd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -612,7 +612,11 @@ else
EXT?=dll
TARGET := $(TARGET_NAME)_libretro.$(EXT)
CC ?= gcc
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=libretro/link.T
SHARED := -shared -static-libgcc -static-libstdc++
ifneq ($(DEBUG), 1)
SHARED += -s
endif
SHARED += -Wl,--version-script=libretro/link.T
CFLAGS += -D__WIN32__ -Wno-missing-field-initializers -DHAVE_STRLWR
LIBS =
endif