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 b4cb8a7f65
commit 17695a7b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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