1 --- libsoup-2.99.3/meson.build.orig 2021-04-08 21:34:56.261188700 +0200
2 +++ libsoup-2.99.3/meson.build 2021-04-11 15:13:46.597820547 +0200
3 @@ -329,11 +329,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')
25 @@ -392,7 +399,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,