mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Fix build with --with-cryptopp --disable-shared
Adds -lstdc++ to LIBS in configure when cryptopp is enabled. Without -lstdc++ linking fails when configured with --with-cryptopp and --disable-shared.
This commit is contained in:
parent
2e8838de6e
commit
85ac7e6b7a
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue