build(meson): more robust python build

This commit is contained in:
2026-06-11 11:01:05 -04:00
parent 8817be5831
commit 10d93fe4e7
5 changed files with 29 additions and 16 deletions

View File

@@ -26,16 +26,12 @@ dependencies = [
quill_dep,
]
logging_lib_install_dir = get_option('lib_install_dir') != '' \
? get_option('lib_install_dir') \
: get_option('libdir')
liblogging = library('logging',
logging_sources,
include_directories: include_directories('include'),
cpp_args: ['-fvisibility=default'],
install : true,
install_dir: logging_lib_install_dir,
install_dir: logging_libdir,
dependencies: dependencies
)