Fix linking with --as-needed ld(1) option.
[tig] / Makefile
index 4d417c5..c1fd656 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 PREFIX = $(HOME)
-LDFLAGS = -lcurses
+LDLIBS  = -lcurses
 CFLAGS = -Wall
 DFLAGS = -g -DDEBUG
 PROGS  = tig