[vlc-devel] [PATCH] configure: only add bcrypt to the core

Steve Lhomme robux4 at ycbcr.xyz
Wed Apr 8 16:00:03 CEST 2020


If a module needs it, it should add it by itself.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 14b3e6e8dc5..4fd1240d09b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1252,7 +1252,7 @@ AS_IF([test "${enable_ssp}" != "no" -a "${enable_optimizations}" != "no"], [
 AS_IF([test "${SYS}" = "mingw32"], [
     dnl library for BCrypt APIs
     AS_IF([test "${vlc_winstore_app}" = 1],
-          [LDFLAGS="${LDFLAGS} -lbcrypt"])
+          VLC_ADD_LIBS([libvlccore], [-lbcrypt]))
 ])
 
 VLC_SAVE_FLAGS
-- 
2.17.1



More information about the vlc-devel mailing list