1 --- libsoup-3.0.0/meson.build.orig 2021-09-18 17:42:24.256217200 +0200
2 +++ libsoup-3.0.0/meson.build 2021-09-19 22:18:19.217690057 +0200
3 @@ -344,11 +344,18 @@ endif
5 # NTLM not supported on Windows
6 if host_machine.system() != 'windows'
7 - ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
8 + ntlm_auth_path = get_option('ntlm_auth')
9 + if ntlm_auth_path[0] == '/'
10 + ntlm_auth_found = true
12 + ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
13 + ntlm_auth_found = ntlm_auth.found()
14 + ntlm_auth_path = ntlm_auth.path()
17 - if ntlm_auth.found()
19 add_project_arguments('-DUSE_NTLM_AUTH=1', language : 'c')
20 - add_project_arguments('-DNTLM_AUTH="' + ntlm_auth.path() + '"', language : 'c')
21 + add_project_arguments('-DNTLM_AUTH="' + ntlm_auth_path + '"', language : 'c')
24 ntlm_auth = dependency('', required: false)
25 @@ -409,7 +416,7 @@ summary({
28 'GSSAPI' : enable_gssapi,
29 - 'NTLM' : ntlm_auth.found(),
30 + 'NTLM' : ntlm_auth_found,
31 'Brotli' : brotlidec_dep.found(),
32 'Translations' : xgettext.found(),
33 'GIR' : enable_introspection,