mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-22 15:50:59 -05:00
- Fix #738: Swig should not be invoked with CPPFLAGS.
git-svn-id: file:///svn/unbound/trunk@3603 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6484f6b9b8
commit
1e55b2ede1
2 changed files with 6 additions and 2 deletions
|
|
@ -54,6 +54,7 @@ LEX=@LEX@
|
||||||
STRIP=@STRIP@
|
STRIP=@STRIP@
|
||||||
CC=@CC@
|
CC=@CC@
|
||||||
CPPFLAGS=-I. @CPPFLAGS@
|
CPPFLAGS=-I. @CPPFLAGS@
|
||||||
|
PYTHON_CPPFLAGS=-I. @PYTHON_CPPFLAGS@
|
||||||
CFLAGS=@CFLAGS@
|
CFLAGS=@CFLAGS@
|
||||||
LDFLAGS=@LDFLAGS@
|
LDFLAGS=@LDFLAGS@
|
||||||
LIBS=@LIBS@
|
LIBS=@LIBS@
|
||||||
|
|
@ -389,13 +390,13 @@ pythonmod.lo pythonmod.o: $(srcdir)/pythonmod/pythonmod.c config.h \
|
||||||
|
|
||||||
pythonmod/interface.h: $(srcdir)/pythonmod/interface.i config.h
|
pythonmod/interface.h: $(srcdir)/pythonmod/interface.i config.h
|
||||||
@-if test ! -d pythonmod; then $(INSTALL) -d pythonmod; fi
|
@-if test ! -d pythonmod; then $(INSTALL) -d pythonmod; fi
|
||||||
$(SWIG) $(CPPFLAGS) -o $@ -python $(srcdir)/pythonmod/interface.i
|
$(SWIG) $(PYTHON_CPPFLAGS) -o $@ -python $(srcdir)/pythonmod/interface.i
|
||||||
|
|
||||||
libunbound_wrap.lo libunbound_wrap.o: libunbound/python/libunbound_wrap.c \
|
libunbound_wrap.lo libunbound_wrap.o: libunbound/python/libunbound_wrap.c \
|
||||||
unbound.h
|
unbound.h
|
||||||
libunbound/python/libunbound_wrap.c: $(srcdir)/libunbound/python/libunbound.i unbound.h
|
libunbound/python/libunbound_wrap.c: $(srcdir)/libunbound/python/libunbound.i unbound.h
|
||||||
@-if test ! -d libunbound/python; then $(INSTALL) -d libunbound/python; fi
|
@-if test ! -d libunbound/python; then $(INSTALL) -d libunbound/python; fi
|
||||||
$(SWIG) -python -o $@ $(CPPFLAGS) -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) $(srcdir)/libunbound/python/libunbound.i
|
$(SWIG) -python -o $@ $(PYTHON_CPPFLAGS) -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) $(srcdir)/libunbound/python/libunbound.i
|
||||||
|
|
||||||
# Pyunbound python unbound wrapper
|
# Pyunbound python unbound wrapper
|
||||||
_unbound.la: libunbound_wrap.lo libunbound.la
|
_unbound.la: libunbound_wrap.lo libunbound.la
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
25 January 2016: Wouter
|
||||||
|
- Fix #738: Swig should not be invoked with CPPFLAGS.
|
||||||
|
|
||||||
19 January 2016: Wouter
|
19 January 2016: Wouter
|
||||||
- Squelch 'cannot assign requested address' log messages unless
|
- Squelch 'cannot assign requested address' log messages unless
|
||||||
verbosity is high, it was spammed after network down.
|
verbosity is high, it was spammed after network down.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue