Minor fix in meson build file

This commit is contained in:
2025-04-24 16:03:00 +08:00
parent 7c2a0f0d64
commit 96812b7565

View File

@@ -154,7 +154,7 @@ endif
source_file += source_file_headers source_file += source_file_headers
static_library('utils', utils = static_library('utils',
source_file, source_file,
dependencies: deps, dependencies: deps,
install: get_option('utils_standalone'), install: get_option('utils_standalone'),
@@ -162,6 +162,7 @@ static_library('utils',
cpp_args: ['-DHAVE_UTILS_CONFIG_H'], cpp_args: ['-DHAVE_UTILS_CONFIG_H'],
pic: true, pic: true,
) )
utils_dep = declare_dependency(include_directories: include_directories('.'), link_with: utils)
if get_option('utils_standalone') if get_option('utils_standalone')
install_headers(source_file_headers) install_headers(source_file_headers)