From 799e250bbc9cf89bb09b7cfa4afbc4dbb9a46657 Mon Sep 17 00:00:00 2001 From: z3bra Date: Thu, 2 Mar 2017 22:39:21 +0100 Subject: Explicitely list all libs in LDLIBS This allow statically linking the binary by simply overriding LDFLAGS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 767d8ab..c5765cb 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ nodes.h: .o: @echo LD $@ - @$(LD) -o $@ $< util.a $(LDFLAGS) + @$(LD) -o $@ $< util.a $(LDFLAGS) $(LDLIBS) .c.o: @echo CC $< -- cgit v1.2.3