ref: 17d2c379cd67b10fe02236579ec44b6881f8d806
parent: b6f8bf68ecef89da50db0896b200e3f275fc1b19
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Sep 20 11:47:02 EDT 2019
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
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@
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
--
⑨