libretro: allow mingw cross compile

This commit is contained in:
Aaron Kling 2019-06-06 14:54:07 -05:00
parent 8cc06ceef4
commit 9a254ce0d9

View File

@ -442,7 +442,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
CC = gcc
CC ?= gcc
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
LDFLAGS += -static-libgcc -static-libstdc++ -lwinmm
endif