diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-05-05 09:38:01 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-05-05 09:38:01 +0200 |
commit | 5705e4ea7d8db911bd35f5ee26f7286ea3470b08 (patch) | |
tree | 9c6c503677f65e12b8bee97f6e23e3f87d57dfc4 | |
parent | 8d9b30695b1ef130f40a8fa4497cb0cbd2250072 (diff) |
autotools: add bcrypt to win32 libs
The included libav requires it now. Otherwise the builds fails with:
CCLD libgstlibav.la
build-i686-w64-mingw32/gst-libs/ext/.libs/libavutil.a(random_seed.o): In function `av_get_random_seed':
gst-libav-1.16.0/gst-libs/ext/libav/libavutil/random_seed.c:126: undefined reference to `BCryptOpenAlgorithmProvider@16'
gst-libav-1.16.0/gst-libs/ext/libav/libavutil/random_seed.c:129: undefined reference to `BCryptGenRandom@16'
gst-libav-1.16.0/gst-libs/ext/libav/libavutil/random_seed.c:130: undefined reference to `BCryptCloseAlgorithmProvider@8'
collect2.exe: error: ld returned 1 exit status
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ab34a46..121815c 100644 --- a/configure.ac +++ b/configure.ac @@ -375,7 +375,7 @@ else case $host_os in mingw32*) - WIN32_LIBS="-lws2_32" + WIN32_LIBS="-lws2_32 -lbcrypt" ;; *) WIN32_LIBS= |