]> git.pld-linux.org Git - packages/libsoup3.git/blob - libsoup3-path-override.patch
39819bb08663d1b5da0f0ef399ca959bd751affe
[packages/libsoup3.git] / libsoup3-path-override.patch
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
4  ################
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
11 +  else
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()
15 +  endif
16  
17 -  if ntlm_auth.found()
18 +  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')
22    endif
23  endif
24  
25 @@ -392,7 +399,7 @@ summary({
26  
27  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,
This page took 0.041405 seconds and 2 git commands to generate.