Possible fix for static builds on non-Windows platforms?
This commit is contained in:
parent
84945aa898
commit
8e76e38591
1 changed files with 4 additions and 1 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Add table
Reference in a new issue