From: Ruben Kerkhof Date: Sat, 12 Mar 2016 11:59:22 +0000 (+0100) Subject: pdns: Fix build on OSX X-Git-Tag: dnsdist-1.0.0-beta1~121^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3557%2Fhead;p=thirdparty%2Fpdns.git pdns: Fix build on OSX Using OpenSSL from Homebrew, by doing ./configure --with-openssl=/Users/ruben/homebrew/Cellar/openssl/1.0.2g Results in: Making all in pdns /Library/Developer/CommandLineTools/usr/bin/make all-am CXX base64.o base64.cc:7:10: fatal error: 'openssl/bio.h' file not found ^ 1 error generated. --- diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 20c3638659..9a05e81b98 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -3,7 +3,8 @@ JSON11_LIBS = $(top_builddir)/ext/json11/libjson11.la AM_CPPFLAGS += \ -I$(top_srcdir)/ext/json11 \ $(YAHTTP_CFLAGS) \ - $(LIBEDIT_CFLAGS) + $(LIBEDIT_CFLAGS) \ + $(OPENSSL_INCLUDES) AM_CXXFLAGS = \ -DSYSCONFDIR=\"$(sysconfdir)\" \