Merge pull request #189 from mudl0rd/patch-1

Do not strip debug library
This commit is contained in:
LibretroAdmin 2024-05-07 07:35:41 -07:00 committed by GitHub
commit ab05295d81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -613,7 +613,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