Commit 1867180c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] [master] added workaround for freebsd about ldflags and cppflags for botan:

use -L`botan-config --prefix`/lib and -I`botan-config --prefix`/include.
parent 6eb7a93e
......@@ -395,7 +395,15 @@ fi
if test -x "${BOTAN_CONFIG}" ; then
# We expect botan-config --libs to contain -L<path_to_libbotan>, but
# this is not always the case. As a heuristics workaround we add
# -L`botan-config --prefix/lib` in this case. Same for BOTAN_INCLUDES
# (but using include instead of lib) below.
echo ${BOTAN_LDFLAGS} | grep -- -L > /dev/null || \
echo ${BOTAN_INCLUDES} | grep -- -I > /dev/null || \
# See python_rpath for some info on why we do this
if test $rpath_available = yes; then
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