Merge pull request #29 from webgeek1234/master

libretro: allow mingw cross compile
This commit is contained in:
Twinaphex 2019-08-17 14:59:22 +02:00 committed by GitHub
commit 9e1de59736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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