mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-06-06 05:08:45 +08:00
Minor fix in meson build file
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user