Code

Allow LDLIBS to be overriden by configure
authorJonas Fonseca <fonseca@diku.dk>
Wed, 22 Aug 2007 09:18:16 +0000 (11:18 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 22 Aug 2007 09:18:16 +0000 (11:18 +0200)
Makefile

index 033d1043133546f35d6dd62fcf6ef38fce7e6363..446fc3e8914011f9bff5a16176dad69f9c67ec23 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ RPM_VERLIST = $(filter-out g% dirty,$(subst -, ,$(VERSION))) 0
 RPM_VERSION = $(word 1,$(RPM_VERLIST))
 RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty)
 
-LDLIBS = -lcurses
+LDLIBS ?= -lcurses
 CFLAGS ?= -Wall -O2
 DFLAGS = -g -DDEBUG -Werror
 PROGS  = tig