From dc1d5b6f24cd49f99c9c8595c59a9c3585e1ac3a Mon Sep 17 00:00:00 2001 From: Simon Lieb Date: Wed, 1 Apr 2015 22:52:22 +0200 Subject: [PATCH] Default to static linking. --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 0064496..bd994da 100644 --- a/config.mk +++ b/config.mk @@ -13,7 +13,7 @@ LIBS = # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=500 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +LDFLAGS = -static -s ${LIBS} # compiler and linker CC = cc