libretro: Fix core on Debian Buster (fixes #598)

This commit is contained in:
Stephen Anthony 2020-03-28 12:03:23 -02:30
parent 4cddd6bf25
commit c09b6167a1
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ endif
# Unix
ifneq (,$(findstring unix,$(platform)))
CXXFLAGS += $(LTO)
LDFLAGS += $(LTO) $(PTHREAD_FLAGS)
LDFLAGS += $(LTO) $(PTHREAD_FLAGS) -static-libgcc -static-libstdc++
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
ifneq ($(findstring SunOS,$(shell uname -a)),)