Libretro: allow mingw cross compile (#653)

This commit is contained in:
webgeek1234 2019-09-17 20:52:56 -05:00 committed by SourMesen
parent 40d1c03598
commit da4aed5405

View file

@ -1,5 +1,5 @@
STATIC_LINKING := 0
AR := ar
AR ?= ar
SPACE :=
SPACE := $(SPACE) $(SPACE)
@ -250,8 +250,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