]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
pdns: Fix build on OSX 3557/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 12 Mar 2016 11:59:22 +0000 (12:59 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 12 Mar 2016 11:59:59 +0000 (12:59 +0100)
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.

pdns/Makefile.am

index 20c36386590c655eab12d31b1ba2f35e42447c16..9a05e81b9800a1498711840a7e64a0eabc27260e 100644 (file)
@@ -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)\" \