Fix indentation in the meson.build file
This commit is contained in:
parent
7c2e7e6df4
commit
5e127608c3
@ -14,9 +14,9 @@ fs = import('fs')
|
|||||||
audit_dep = dependency('audit', required : get_option('audit'))
|
audit_dep = dependency('audit', required : get_option('audit'))
|
||||||
if audit_dep.found()
|
if audit_dep.found()
|
||||||
cc_audit_flags = '-DHAVE_AUDIT'
|
cc_audit_flags = '-DHAVE_AUDIT'
|
||||||
else
|
else
|
||||||
cc_audit_flags = []
|
cc_audit_flags = []
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('branding') != ''
|
if get_option('branding') != ''
|
||||||
cc_branding_flags = '-DBRANDING=' + get_option('branding')
|
cc_branding_flags = '-DBRANDING=' + get_option('branding')
|
||||||
@ -61,7 +61,7 @@ endif
|
|||||||
|
|
||||||
if not pam_dep.found() and get_option('pam')
|
if not pam_dep.found() and get_option('pam')
|
||||||
error('Pam was requested but could not be located')
|
error('Pam was requested but could not be located')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cap_dep = dependency('libcap', version: '>=2.33', required : get_option('capabilities'))
|
cap_dep = dependency('libcap', version: '>=2.33', required : get_option('capabilities'))
|
||||||
if cap_dep.found()
|
if cap_dep.found()
|
||||||
@ -154,7 +154,7 @@ elif os == 'FreeBSD'
|
|||||||
cc_os_flags = ['-D_BSD_SOURCE']
|
cc_os_flags = ['-D_BSD_SOURCE']
|
||||||
elif os == 'GNU'
|
elif os == 'GNU'
|
||||||
cc_os_flags = ['-D_DEFAULT_SOURCE', '-DMAXPATHLEN=4096', '-DPATH_MAX=4096']
|
cc_os_flags = ['-D_DEFAULT_SOURCE', '-DMAXPATHLEN=4096', '-DPATH_MAX=4096']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Try and use some good cc flags if we're building from git. We don't use
|
# Try and use some good cc flags if we're building from git. We don't use
|
||||||
# -pedantic as it will warn about our perfectly valid use of %m in our logger.
|
# -pedantic as it will warn about our perfectly valid use of %m in our logger.
|
||||||
|
Loading…
Reference in New Issue
Block a user