summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2017-03-02 22:39:21 +0100
committerz3bra <contactatz3bradotorg>2017-03-02 22:39:21 +0100
commit799e250bbc9cf89bb09b7cfa4afbc4dbb9a46657 (patch)
treea8ee4102a4f2a68c2b17f5cbbff8679955209437 /Makefile
parent3a0b00460b6e82d920d360accdbe19d09548b7f7 (diff)
Explicitely list all libs in LDLIBS
This allow statically linking the binary by simply overriding LDFLAGS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 $<