From da612901d7fb3755adb65fa18219d20e42bf269a Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 16 Apr 2015 14:38:38 +0000 Subject: [PATCH] #664: libunbound-Python: libldns is not used anymore. git-svn-id: file:///svn/unbound/trunk@3402 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + libunbound/python/Makefile | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index e129e0d0e..57e575f5f 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -6,6 +6,7 @@ - Fix bug#664: libunbound python3 related fixes (from Tomas Hozza) Use print_function also for Python2. libunbound examples: produce sorted output. + libunbound-Python: libldns is not used anymore. 10 April 2015: Wouter - unbound-control ratelimit_list lists high rate domains. diff --git a/libunbound/python/Makefile b/libunbound/python/Makefile index 86ba17747..01b057731 100644 --- a/libunbound/python/Makefile +++ b/libunbound/python/Makefile @@ -48,17 +48,14 @@ help: #../../.libs/libunbound.so.0: ../../Makefile #$(MAKE) -C ../.. -#../../ldns-src/lib/libldns.so: ../../ldns-src/Makefile - #$(MAKE) -C ../../ldns-src - clean: rm -rdf examples/unbound rm -f _unbound.so libunbound_wrap.o $(MAKE) -C ../.. clean -testenv: ../../.libs/libunbound.so.2 ../../ldns-src/lib/libldns.so ../../.libs/_unbound.so +testenv: ../../.libs/libunbound.so.2 ../../.libs/_unbound.so rm -rdf examples/unbound - cd examples && mkdir unbound && ln -s ../../unbound.py unbound/__init__.py && ln -s ../../_unbound.so unbound/_unbound.so && ln -s ../../../../.libs/libunbound.so.2 unbound/libunbound.so.2 && ln -s ../../../../ldns-src/lib/libldns.so.1 unbound/libldns.so.1 && ls -la + cd examples && mkdir unbound && ln -s ../../unbound.py unbound/__init__.py && ln -s ../../_unbound.so unbound/_unbound.so && ln -s ../../../../.libs/libunbound.so.2 unbound/libunbound.so.2 && ls -la cd examples && if test -f ../../../.libs/_unbound.so; then cp ../../../.libs/_unbound.so . ; fi @echo "Run a script by typing ./script_name.py" cd examples && LD_LIBRARY_PATH=unbound bash -- 2.47.2