6dd75a137f
Signed-off-by: Tomas Hozza <thozza@redhat.com>
38 lines
1.6 KiB
Diff
38 lines
1.6 KiB
Diff
From a26697b196418201e1162f04317649d64aec89b5 Mon Sep 17 00:00:00 2001
|
|
From: Tomas Hozza <thozza@redhat.com>
|
|
Date: Thu, 16 Apr 2015 11:29:21 +0200
|
|
Subject: [PATCH 3/4] libunbound-Python: libldns is not used anymore
|
|
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
---
|
|
libunbound/python/Makefile | 7 ++-----
|
|
1 file changed, 2 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/libunbound/python/Makefile b/libunbound/python/Makefile
|
|
index 86ba177..01b0577 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.1.0
|
|
|