0f5c49489d68f751f80ebf37920402ce9cf2ed47 — Enric Meinhardt-Llopis a month ago d026c85
fix options for cpu static linking
1 files changed, 6 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +6 -1
@@ 105,7 105,12 @@ bin/% : src/misc/%.o $(OBJ)
# targets, or bizarre graphics/terminal interfaces.

# static libs need all to be explicitly pulled (no recursion)
STALIBS = -lm -lfftw3f -ltiff -ljpeg -lpng -lwebp -ljbig -lz -llzma -ldeflate -lzstd
# (NOTE: assumes you want jpeg, tiff, png, webp support)
STALIBS = -lm -lfftw3f -ltiff -ljpeg -lpng -lwebp -ljbig -lz -llzma -ldeflate -lzstd -lX11 -lxcb -lm -lXau -lXdmcp $(STALIBSX)
STALIBSX = -lX11 -lxcb -lXau -lXdmcp
# uncomment the following two lines for static compilation
#LDFLAGS = -static

# single, fat, busybox-like executable