Restore an old workaround from the original portable branch
This can be removed when MSYS2 stops being garbage, and fixes this upstream. See https://github.com/msys2/MINGW-packages/issues/4004
This commit is contained in:
parent
b6f8bf68ec
commit
17d2c379cd
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -47,7 +47,7 @@ CXXFLAGS += -std=c++98 -MMD -MP -MF $@.d `$(PKG_CONFIG) sdl2 --cflags` `$(PKG_CO
|
|||
|
||||
ifeq ($(STATIC), 1)
|
||||
LDFLAGS += -static
|
||||
LIBS += `$(PKG_CONFIG) sdl2 --libs --static` `$(PKG_CONFIG) freetype2 --libs --static`
|
||||
LIBS += `$(PKG_CONFIG) sdl2 --libs --static` `$(PKG_CONFIG) freetype2 --libs --static` -lfreetype
|
||||
else
|
||||
LIBS += `$(PKG_CONFIG) sdl2 --libs` `$(PKG_CONFIG) freetype2 --libs`
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue