libretro: allow mingw cross compile

This commit is contained in:
Aaron Kling 2019-06-20 10:09:26 -05:00 committed by Stephen Anthony
parent 3c49805be9
commit 74959ba26c
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ else ifeq ($(platform), windows_msvc2005_x86)
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
CXX = g++
CXX ?= g++
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=link.T
CXXFLAGS += -D__WIN32__
endif