Dnsdist: Fix build failure on FreeBSD #3550

Merged
merged 1 commit into from Mar 11, 2016

Projects

None yet

3 participants

@rubenk
Contributor
rubenk commented Mar 11, 2016

YaHTTP needs Boost headers, and those are in /usr/local/include on FreeBSD.

Append BOOST_CPPFLAGS to AM_CPPFLAGS in configure.ac, so every Makefile uses them.
Also set the compiler flags globally, so that we compile yahttp with the same settings.

Fixes "/reqresp.hpp:7:10: fatal error: 'boost/function.hpp' file not found"

@rubenk rubenk Dnsdist: Fix build failure on FreeBSD
YaHTTP needs Boost headers, and those are in /usr/local/include on FreeBSD.

Append BOOST_CPPFLAGS to AM_CPPFLAGS in configure.ac, so every Makefile uses them.
Also set the compiler flags globally, so that we compile yahttp with the same settings.

Fixes "/reqresp.hpp:7:10: fatal error: 'boost/function.hpp' file not found"
4649d67
@rgacogne rgacogne added the dnsdist label Mar 11, 2016
@ahupowerdns ahupowerdns merged commit cace866 into PowerDNS:master Mar 11, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rubenk rubenk deleted the rubenk:fix-build-failure-on-freebsd branch Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment