opnsense-ports/devel/libsoup/files/patch-meson.build
Franco Fichtner 0173d5dbbd */*: sync with upstream
Taken from: HardenedBSD
2021-06-29 13:29:17 +02:00

17 lines
649 B
Text

--- meson.build.orig 2021-06-12 13:43:16 UTC
+++ meson.build
@@ -340,11 +340,11 @@ endif
################
# NTLM not supported on Windows
if host_machine.system() != 'windows'
- ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
+ # ntlm_auth = find_program(get_option('ntlm_auth'), required: get_option('ntlm'))
- if ntlm_auth.found()
+ if get_option('ntlm').enabled()
add_project_arguments('-DUSE_NTLM_AUTH=1', language : 'c')
- add_project_arguments('-DNTLM_AUTH="' + ntlm_auth.path() + '"', language : 'c')
+ add_project_arguments('-DNTLM_AUTH="@@NTLM_AUTH@@"', language : 'c')
endif
endif