aboutsummaryrefslogtreecommitdiffstats
path: root/main/unbound/swig.patch
blob: 4a11c832b170306ef82ca7eca5ee51a81b406faa (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./Makefile.in.orig
+++ ./Makefile.in
@@ -394,7 +394,7 @@
 	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
-	$(SWIG) -python -o $@ $(CPPFLAGS) -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) $(srcdir)/libunbound/python/libunbound.i
+	$(SWIG) -python -o $@ "$(CPPFLAGS)" -DPY_MAJOR_VERSION=$(PY_MAJOR_VERSION) $(srcdir)/libunbound/python/libunbound.i
 
 # Pyunbound python unbound wrapper
 _unbound.la:	libunbound_wrap.lo libunbound.la