commit: 3320dcf4453f79508bffc9e16a52a0d317d34db3
parent 4cd3e2b5ca0938dde5501be83c019f106282ac89
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 25 Jun 2024 11:31:24 +0200
Makefile: Add ${LDSTATIC}
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -5,10 +5,10 @@ include config.mk
all: httpc
httpc: httpc.c httpc.h uri.c
- ${CC} -std=c99 ${CFLAGS} ${DEPS_cflags} -o $@ httpc.c uri.c ${LDFLAGS} ${DEPS_libs}
+ ${CC} -std=c99 ${CFLAGS} ${DEPS_cflags} -o $@ httpc.c uri.c ${LDFLAGS} ${LDSTATIC} ${DEPS_libs}
uri_test: httpc.h uri.c uri_test.c
- ${CC} -std=c99 ${CFLAGS} -o $@ uri_test.c uri.c ${LDFLAGS}
+ ${CC} -std=c99 ${CFLAGS} -o $@ uri_test.c uri.c ${LDFLAGS} ${LDSTATIC}
.PHONY: check
check: uri_test