diff --git a/configure.ac b/configure.ac index 4bb68396..1a8b4f1c 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ AS_IF([test "x$with_cryptopp" = "xyes"], ) AM_CONDITIONAL([USE_CRYPTOPP], [test "x$with_cryptopp" = "xyes"]) +AS_IF([test "x$with_cryptopp" = "xyes"], [cryptopp_LIBS="$cryptopp_LIBS -lstdc++"]) CPPFLAGS="$CPPFLAGS $cryptopp_CFLAGS" LIBS="$LIBS $cryptopp_LIBS"