diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-05-05 09:38:01 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-08-06 23:35:03 +0100 |
commit | 48134dbf600cb5f5a28636ecfbf1d5488f1ec5f0 (patch) | |
tree | 15b3337ee97cc2fad9495eae97fff7367bdf02ba | |
parent | 41b2b73c26cff8d0239c6d6a665065a5a4389fba (diff) | |
download | gst-libav-48134dbf600cb5f5a28636ecfbf1d5488f1ec5f0.tar.gz |
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 f695ccb..9873322 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= |