diff --git a/Makefile b/Makefile index 501602fb..7364f5af 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,10 @@ LIBS += `sdl2-config --static-libs` `pkg-config freetype2 --libs` ifeq ($(STATIC), 1) CXXFLAGS += -static - LIBS += -lharfbuzz -lfreetype -lbz2 -lpng -lz -lgraphite2 -lRpcrt4 -lDwrite -lusp10 + LIBS += -lharfbuzz -lfreetype -lbz2 -lpng -lz -lgraphite2 + ifeq ($(WINDOWS), 1) + LIBS += -lRpcrt4 -lDwrite -lusp10 + endif endif # For an accurate result to the original's code, compile in alphabetical order