commit d225d94bc2b4364843bd56dbc4269adecc52af3c
parent a06fba3ac00073b7c2686ea18585324db51c799a
Author: Yersa Nordman <yersa@finwo.nl>
Date: Sat, 7 Oct 2023 21:28:04 +0200
Compile static, so it works regardless of OSs libc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -27,7 +27,7 @@ include Makefile.pkg
$(CC) $(CFLAGS) $(@:.o=.c) -D__NAME=\"$(BIN)\" -c -o $@
$(BIN): $(OBJ)
- $(CC) $(CFLAGS) $(OBJ) -o $@
+ $(CC) $(CFLAGS) $(OBJ) --static -o $@
# Build manpage
$(BIN).1: manpage.1.md