Merge pull request #90 from mudl0rd/patch-1

Do not strip debug library
This commit is contained in:
LibretroAdmin 2024-06-14 16:29:56 -05:00 committed by GitHub
commit 8ddc788861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,7 +214,11 @@ else
HAVE_CDROM := 1
USE_LTO := 1
TARGET := $(TARGET_NAME)_libretro.dll
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
SHARED := -shared -static-libgcc -static-libstdc++
ifneq ($(DEBUG), 1)
SHARED += -s
endif
SHARED += -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
endif
LDFLAGS += $(LIBM)