Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
--- ldns-1.7.0/Makefile.in.orig	2016-12-20 10:48:22.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+++ ldns-1.7.0/Makefile.in	2017-01-26 14:37:19.980529846 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
@@ -148,7 +148,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 	fi
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 drill/drill: $(DRILL_LOBJS) $(LIB)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) $(DRILL_LOBJS) $(LIBS) $(LIBSSL_LIBS) -lldns -o drill/drill
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) $(DRILL_LOBJS) -L./lib -lldns $(LIBS) $(LIBSSL_LIBS) -o drill/drill
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 drill/drill.1: $(srcdir)/drill/drill.1.in
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 	$(edit) $(srcdir)/drill/drill.1.in > drill/drill.1
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
@@ -179,21 +179,21 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 	fi
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 $(EXAMPLE_PROGS):
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) $@.lo $(LIBS) -lldns -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) $@.lo -L./lib -lldns $(LIBS) $(LIBSSL_LIBS) -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 $(TESTNS):
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) $(TESTNS_LOBJS) $(LIBS) -lldns -o $(TESTNS)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) $(TESTNS_LOBJS) -L./lib -lldns $(LIBS) $(LIBSSL_LIBS) -o $(TESTNS)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 $(LDNS_DPA):
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) $(LDNS_DPA_LOBJS) $(LIBS) $(LIBPCAP_LIBS) -lldns \
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) $(LDNS_DPA_LOBJS) -L./lib -lldns $(LIBS) $(LIBPCAP_LIBS) \
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 		 -o $(LDNS_DPA)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 $(LDNS_DANE):
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) $(LDNS_DANE_LOBJS) $(LIBS) $(LIBSSL_SSL_LIBS) -lldns \
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) $(LDNS_DANE_LOBJS) -L./lib -lldns $(LIBS) $(LIBSSL_SSL_LIBS) \
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 		 -o $(LDNS_DANE)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 $(EX_SSL_PROGS):
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) $@.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) $@.lo -L./lib -lldns $(LIBS) $(LIBSSL_LIBS) -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 examples/ldns-dane.1: $(srcdir)/examples/ldns-dane.1.in
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 	$(edit) $(srcdir)/examples/ldns-dane.1.in > examples/ldns-dane.1
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
@@ -228,14 +228,14 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 linktest: $(srcdir)/linktest.c libldns.la
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 	$(COMP_LIB) $(LIBSSL_CPPFLAGS) -c $(srcdir)/linktest.c -o linktest.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_EXE) linktest.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o linktest
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_EXE) linktest.lo -L./lib -lldns $(LIBS) $(LIBSSL_LIBS) -o linktest
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 lib: libldns.la
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 lib-export-all: libldns.la-export-all
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 libldns.la: $(LDNS_ALL_LOBJS)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
-	$(LINK_LIB) $(LIBSSL_LDFLAGS) $(LIBSSL_LIBS) -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
+	$(LINK_LIB) $(LIBSSL_LDFLAGS) -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la $(LDNS_ALL_LOBJS) $(LIBSSL_LIBS) -rpath $(libdir) $(RUNTIME_PATH)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 libldns.la-export-all: $(LDNS_ALL_LOBJS)
Lucio Andrés Illanes Albornoz (arab, vxp) 22b9a1
 	$(LINK_LIB) -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)