mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
Do not build with --static
on maco_os.
This commit is contained in:
parent
4e992a18e8
commit
6765239341
@ -9,7 +9,10 @@ add_global_arguments('-DKIWIX_TOOLS_VERSION="@0@"'.format(meson.project_version(
|
||||
|
||||
static_linkage = get_option('static-linkage')
|
||||
if static_linkage
|
||||
add_global_link_arguments('-static-libstdc++', '--static', language:'cpp')
|
||||
# Static build is not supported on MacOS
|
||||
if host_machine.system() != 'darwin'
|
||||
add_global_link_arguments('-static-libstdc++', '--static', language:'cpp')
|
||||
endif
|
||||
endif
|
||||
|
||||
thread_dep = dependency('threads')
|
||||
|
Loading…
x
Reference in New Issue
Block a user