]> git.armaanb.net Git - stagit.git/commitdiff
config.mk: remove -lc
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 2 Jul 2016 10:44:34 +0000 (12:44 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 2 Jul 2016 10:44:34 +0000 (12:44 +0200)
Thanks quinq!

POSIX/quinq says:

"In the absence of options that inhibit invocation of the link editor, such as
-c or -E, the c99 utility shall cause the equivalent of a -l c option to be
passed to the link editor after the last pathname operand or -l option, causing
it to be searched after all other object files and libraries are loaded."

config.mk

index 7479a977a0a94f4680fa7e4ef47ad782dc2a5633..c50af69397ede67da4f7f402edc68bfcf7c47a6f 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -12,7 +12,7 @@ GITLIB = /usr/local/lib
 
 # includes and libs
 INCS = -I${GITINC}
-LIBS = -L${GITLIB} -lgit2 -lc
+LIBS = -L${GITLIB} -lgit2
 
 # debug
 #CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic ${INCS}