From d23fe3be5d97fc92b4c88e659ef14262b01f9579 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Tue, 29 May 2018 03:00:19 -0400 Subject: [PATCH] libhb: cli: Link to libbcrypt on mingw-w64. --- libhb/module.defs | 2 +- test/module.defs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/module.defs b/libhb/module.defs index ba924b841..e575e9117 100644 --- a/libhb/module.defs +++ b/libhb/module.defs @@ -186,7 +186,7 @@ else endif LIBHB.GCC.args.extra.dylib++ += -Wl,--out-implib,$(LIBHB.lib) -LIBHB.GCC.l += ws2_32 uuid ole32 +LIBHB.GCC.l += bcrypt ws2_32 uuid ole32 ifeq ($(HAS.dlfcn),1) LIBHB.GCC.l += dl endif diff --git a/test/module.defs b/test/module.defs index 1260d7eac..26b9a2883 100644 --- a/test/module.defs +++ b/test/module.defs @@ -78,7 +78,7 @@ ifeq (1,$(HAS.pthread)) else TEST.GCC.l += pthreadGC2 endif - TEST.GCC.l += iconv ws2_32 regex uuid ole32 + TEST.GCC.l += bcrypt iconv ws2_32 regex uuid ole32 TEST.GCC.D += PTW32_STATIC_LIB TEST.GCC.args.extra.exe++ += -static endif # (1-mingw,$(BUILD.cross)-$(BUILD.system)) -- 2.40.0