nfd: Update to version 0.5.1
Change-Id: I18270180692f0b70ab7c08d2f929e5815ab9493b
diff --git a/nfd/debian/rules b/nfd/debian/rules
index ece0500..2c253fc 100755
--- a/nfd/debian/rules
+++ b/nfd/debian/rules
@@ -12,12 +12,13 @@
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
CXXFLAGS += -std=c++11
+LIBDIR := /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@ --parallel --with=systemd
override_dh_auto_configure:
- CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --boost-libs="$(LIBDIR)"
override_dh_auto_build:
./waf build