]> granicus.if.org Git - pdns/commitdiff
pdns-recursor: fix build failure on OSX
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 12 Mar 2016 18:13:29 +0000 (19:13 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 12 Mar 2016 18:15:33 +0000 (19:15 +0100)
Using OpenSSL from Homebrew, by doing
./configure --with-openssl=/Users/ruben/homebrew/Cellar/openssl/1.0.2g

Results in:

/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/recursordist/Makefile.am

index 7af1cf179f44acd137665d4b869abae2781c52ec..4766ac726fdc4dfd687f99291b37d5b43fb7d836 100644 (file)
@@ -5,7 +5,8 @@ AM_CPPFLAGS = $(LUA_CFLAGS) $(YAHTTP_CFLAGS) $(BOOST_CPPFLAGS) $(SANITIZER_FLAGS
 AM_CPPFLAGS += \
        -I$(top_srcdir)/ext/json11 \
        -I$(top_srcdir)/ext/rapidjson/include \
-       $(YAHTTP_CFLAGS)
+       $(YAHTTP_CFLAGS) \
+       $(OPENSSL_INCLUDES)
 
 AM_CXXFLAGS = \
        -DSYSCONFDIR=\"$(sysconfdir)\" \