fix objcopy on MXE builds

This commit is contained in:
Colton G. Rushton 2020-05-16 12:56:58 -03:00 committed by GitHub
parent 752e43aa80
commit e569a596e8
1 changed files with 5 additions and 1 deletions

View File

@ -434,7 +434,11 @@ else
CPP := $(CROSS)cpp -P
endif
OBJDUMP := $(CROSS)objdump
OBJCOPY := $(CROSS)objcopy
ifeq ($(WINDOWS_BUILD),1) # fixes compilation in MXE on Linux and WSL
OBJCOPY := objcopy
else
OBJCOPY := $(CROSS)objcopy
endif
PYTHON := python3
SDLCONFIG := $(CROSS)sdl2-config