mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
config for libsodium in alternate path, using CPP flags for both C and C++ sources.
This commit is contained in:
parent
6c25d2f880
commit
7660b78e12
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user