Don't strip debug build
authorBobby Smith <33353403+bslenul@users.noreply.github.com>
Mon, 17 Jul 2023 14:33:00 +0000 (16:33 +0200)
committerBobby Smith <33353403+bslenul@users.noreply.github.com>
Mon, 17 Jul 2023 14:37:45 +0000 (16:37 +0200)
Makefile.libretro

index 069290c..3546180 100644 (file)
@@ -505,7 +505,10 @@ else ifeq ($(platform), emscripten)
 else
        TARGET := $(TARGET_NAME)_libretro.dll
        PLATFORM = libretro
-       MAIN_LDFLAGS += -static-libgcc -static-libstdc++ -s
+       MAIN_LDFLAGS += -static-libgcc -static-libstdc++
+ifneq ($(DEBUG),1)
+       MAIN_LDFLAGS += -s
+endif
        CFLAGS += -D__WIN32__ -DNO_DYLIB
        MMAP_WIN32=1
        MAIN_LDLIBS += -lws2_32