Validate host links with PSL rules

This commit is contained in:
2026-04-13 20:10:28 -06:00
parent 150ad62771
commit 8f7c40caf1
5 changed files with 211 additions and 3 deletions

View File

@@ -96,6 +96,14 @@ marshal = [
make_te = find_program('make-te.py')
python3 = find_program('python3', required: true)
public_suffix_data = custom_target('public_suffix_data_h',
output: 'public_suffix_data.h',
command: [python3, files('gen-public-suffix.py'), '@OUTPUT@']
)
textevents = custom_target('textevents',
input: 'textevents.in',
output: ['textevents.h', 'textenums.h'],
@@ -119,7 +127,7 @@ if get_option('plugin')
endif
zoitechat_common = static_library('zoitechatcommon',
sources: [textevents] + marshal + common_sources,
sources: [textevents, public_suffix_data] + marshal + common_sources,
include_directories: config_h_include,
dependencies: common_deps + common_sysinfo_deps,
c_args: common_cflags,
@@ -127,7 +135,7 @@ zoitechat_common = static_library('zoitechatcommon',
)
zoitechat_common_dep = declare_dependency(
sources: [textevents] + marshal,
sources: [textevents, public_suffix_data] + marshal,
link_with: zoitechat_common,
include_directories: common_includes,
compile_args: common_cflags,