Libretro: allow mingw cross compile (#29)

This commit is contained in:
webgeek1234 2019-09-17 20:23:45 -05:00 committed by SourMesen
parent 5da37974fc
commit 1250f5c9b3

View file

@ -1,5 +1,5 @@
STATIC_LINKING := 0
AR := ar
AR ?= ar
SPACE :=
SPACE := $(SPACE) $(SPACE)
@ -234,8 +234,8 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
LDFLAGS += -DLL
LIBM :=
else
CC = gcc
CXX = g++
CC ?= gcc
CXX ?= g++
TARGET := $(TARGET_NAME)_libretro.dll
SHARED := -shared -s -Wl,--version-script=$(LIBRETRO_DIR)/link.T -Wl,--no-undefined
endif