summaryrefslogtreecommitdiff
blob: 20f87f8edc332a1651cc9d399a453aff3b4ec2d9 (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
27
28
29
fix readline linking order
https://bugs.ntp.org/show_bug.cgi?id=1528

--- ntp-4.2.6_p1/ntpdc/Makefile.in
+++ ntp-4.2.6_p1/ntpdc/Makefile.in
@@ -267,8 +267,8 @@
 	-I$(top_srcdir)/lib/isc/unix/include $(LIBOPTS_CFLAGS)
 
 # LDADD might need RESLIB and ADJLIB
-ntpdc_LDADD = version.o @EDITLINE_LIBS@ $(LIBOPTS_LDADD) \
-		../libntp/libntp.a @LCRYPTO@
+ntpdc_LDADD = version.o $(LIBOPTS_LDADD) ../libntp/libntp.a \
+		@EDITLINE_LIBS@ @LCRYPTO@
 
 # ntpdc-layout doesn't need any additional libraries at all
 ntpdc_layout_LDADD = 
--- ntp-4.2.6_p1/ntpqMakefile.in
+++ ntp-4.2.6_p1/ntpq/Makefile.in
@@ -268,8 +268,8 @@
 
 
 # LDADD might need RESLIB and ADJLIB
-ntpq_LDADD = version.o @EDITLINE_LIBS@ $(LIBOPTS_LDADD) \
-		../libntp/libntp.a @LCRYPTO@
+ntpq_LDADD = version.o $(LIBOPTS_LDADD) ../libntp/libntp.a \
+		@EDITLINE_LIBS@ @LCRYPTO@
 
 noinst_HEADERS = ntpq.h
 noinst_LIBRARIES = libntpq.a