1
0
Fork 0
forked from fte/fteqw

Fix makefile for linux->win64_SDL target (#258)

Co-authored-by: eukara <marco@icculus.org>
This commit is contained in:
erysdren 2024-08-28 01:50:12 -05:00 committed by GitHub
parent cea1acab34
commit 52e672d034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1186,9 +1186,8 @@ ifeq (win_SDL,$(findstring win,$(FTE_TARGET))$(findstring _SDL,$(FTE_TARGET)))
EXEPOSTFIX=.exe
CC_MACHINE:=$(shell $(CC) -dumpmachine)
ARCH_PREDEP=$(BASE_DIR)/libs-$(ARCH)/SDL2-$(SDL2VER)/$(CC_MACHINE)/bin/sdl2-config
SDLCONFIG=$(ARCH_PREDEP) --prefix=$(BASE_DIR)/libs-$(ARCH)/SDL2-$(SDL2VER)/$(CC_MACHINE)
ARCH_PREDEP=$(BASE_DIR)/libs-$(ARCH)/SDL2-$(SDL2VER)/$(ARCH)/bin/sdl2-config
SDLCONFIG=$(ARCH_PREDEP) --prefix=$(BASE_DIR)/libs-$(ARCH)/SDL2-$(SDL2VER)/$(ARCH)
CLIENTLIBFLAGS+=`$(SDLCONFIG) --cflags`
#the defaults for sdl come first