diff options
author | z3bra <contactatz3bradotorg> | 2017-03-02 22:39:21 +0100 |
---|---|---|
committer | z3bra <contactatz3bradotorg> | 2017-03-02 22:39:21 +0100 |
commit | 799e250bbc9cf89bb09b7cfa4afbc4dbb9a46657 (patch) | |
tree | a8ee4102a4f2a68c2b17f5cbbff8679955209437 /config.mk | |
parent | 3a0b00460b6e82d920d360accdbe19d09548b7f7 (diff) |
Explicitely list all libs in LDLIBS
This allow statically linking the binary by simply overriding LDFLAGS.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,4 +9,5 @@ CC = cc LD = $(CC) CPPFLAGS = -DVERSION=\"${VERSION}\" CFLAGS = -g -I/usr/local/include -Wall -Wunused $(CPPFLAGS) -LDFLAGS = -g -L/usr/local/lib -ltoxcore -ltoxav -ltoxencryptsave +LDFLAGS = -g -L/usr/local/lib +LDLIBS = -ltoxcore -ltoxav -ltoxencryptsave -lsodium -lopus -lvpx -lm -lpthread |