]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix Python build in non-source directory; based on patch by
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Tue, 10 May 2022 13:57:17 +0000 (15:57 +0200)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Tue, 10 May 2022 13:57:17 +0000 (15:57 +0200)
  Michael Tokarev.

Makefile.in
doc/Changelog

index 9438877990e5e7c567c3b7707a8cea7d8e0392b8..7dbe5760033b09022dfc4011c65e508efb3569a3 100644 (file)
@@ -57,7 +57,7 @@ LEX=@LEX@
 STRIP=@STRIP@
 CC=@CC@
 CPPFLAGS=-I. @CPPFLAGS@
-PYTHON_CPPFLAGS=-I. @PYTHON_CPPFLAGS@
+PYTHON_CPPFLAGS=-I. -I$(srcdir) @PYTHON_CPPFLAGS@
 CFLAGS=-DSRCDIR=$(srcdir) @CFLAGS@
 LDFLAGS=@LDFLAGS@
 LIBS=@LIBS@
@@ -567,7 +567,7 @@ pythonmod-install:
 
 pyunbound-install:
        $(INSTALL) -m 755 -d $(DESTDIR)$(PYTHON_SITE_PKG)
-       $(INSTALL) -c -m 644 $(srcdir)/libunbound/python/unbound.py $(DESTDIR)$(PYTHON_SITE_PKG)/unbound.py
+       $(INSTALL) -c -m 644 libunbound/python/unbound.py $(DESTDIR)$(PYTHON_SITE_PKG)/unbound.py
        $(LIBTOOL) --mode=install cp _unbound.la $(DESTDIR)$(PYTHON_SITE_PKG)
        $(LIBTOOL) --mode=finish $(DESTDIR)$(PYTHON_SITE_PKG)
 
index ca3d9f8cb7bba55bed786862ffbe15db265a411b..9cc1d134aaac863a73d97b575a09e3359a39effe 100644 (file)
@@ -1,3 +1,7 @@
+10 May 2022: George
+       - Fix Python build in non-source directory; based on patch by
+         Michael Tokarev.
+
 6 May 2022: Tom
        - Merge PR #604: Add basic support for EDE (RFC8914).