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
This commit is contained in:
Christoph Reiter 2019-05-05 09:38:01 +02:00
parent 8d9b30695b
commit 5705e4ea7d

View file

@ -375,7 +375,7 @@ else
case $host_os in
mingw32*)
WIN32_LIBS="-lws2_32"
WIN32_LIBS="-lws2_32 -lbcrypt"
;;
*)
WIN32_LIBS=