summaryrefslogtreecommitdiffstats
path: root/ipv6/send/patches/004-always_link_with_ncurses.patch
blob: 367baae609e446be3941e9aa34c35739bc298c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
We should always link with libncurses. This is not noticeable
when building the debian packages because we install libncurses5
runtime library as a dependency.

--- a/cgatool/Makefile
+++ b/cgatool/Makefile
@@ -17,7 +17,7 @@ LDLIBS= $(DEPLIBS)
 LDFLAGS= -L../libs/.libs
 endif
 
-LDLIBS += -lcrypto
+LDLIBS += -lcrypto -lncurses
 
 ifeq ($(USE_THREADS),y)
 LDLIBS += -lpthread
--- a/sendd/Makefile
+++ b/sendd/Makefile
@@ -28,7 +28,7 @@ LDLIBS= $(DEPLIBS)
 LDFLAGS= -L../libs/.libs
 endif
 
-LDLIBS += -lcrypto
+LDLIBS += -lcrypto -lncurses
 LDLIBS += $(OSLIBS)
 
 ifeq ($(USE_THREADS),y)