Skip to content

Commit d3ae031

Browse files
Merge pull request #23 from aecsar/fix_duplicated_ntlm
fix: duplicate symbol `_ntlm_md4_digest` with securetransport backend
2 parents 0b95f6b + 292d007 commit d3ae031

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎build.zig‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub fn build(b: *std.Build) !void {
180180
.root = libgit_root,
181181
.files = switch (tls_backend) {
182182
.openssl => &.{"deps/ntlmclient/crypt_openssl.c"},
183-
.mbedtls => &.{"deps/ntlmclient/crypt_mbedtls.c"},
183+
.mbedtls => &.{ "deps/ntlmclient/crypt_mbedtls.c", "deps/ntlmclient/crypt_builtin_md4.c" },
184184
.securetransport => &.{"deps/ntlmclient/crypt_commoncrypto.c"},
185185
},
186186
.flags = &ntlm_cflags,
@@ -915,7 +915,6 @@ const xdiff_sources = [_][]const u8{
915915
};
916916

917917
const ntlm_sources = [_][]const u8{
918-
"deps/ntlmclient/crypt_builtin_md4.c",
919918
"deps/ntlmclient/ntlm.c",
920919
"deps/ntlmclient/unicode_builtin.c",
921920
"deps/ntlmclient/util.c",

0 commit comments

Comments
 (0)