Commit 30d34888 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #690 from mattconnolly/master

config for libsodium in alternate path, using CPP flags for both C and C...
parents 6c25d2f8 7660b78e
......@@ -73,7 +73,7 @@ AC_ARG_WITH([libsodium],
if test "x$zmq_search_libsodium" = "xyes"; then
if test -r "${with_libsodium}/include/sodium.h"; then
CXXFLAGS="-I${with_libsodium}/include ${CXXFLAGS}"
CPPFLAGS="-I${with_libsodium}/include ${CPPFLAGS}"
LDFLAGS="-L${with_libsodium}/lib ${LDFLAGS}"
fi
fi
......@@ -86,7 +86,7 @@ AC_ARG_WITH([libsodium-include-dir],
if test "x$zmq_search_libsodium_include" = "xyes"; then
if test -r "${with_libsodium_include_dir}/sodium.h"; then
CXXFLAGS="-I${with_libsodium_include_dir}/include ${CXXFLAGS}"
CPPFLAGS="-I${with_libsodium_include_dir}/include ${CPPFLAGS}"
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment