mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 09:08:16 +02:00
meson: include pthread_link_args in the libcairo_dep
In order to build cairo statically on linux, it is required to pass -pthread to the linker of various tests and utils.
This commit is contained in:
parent
39ba22d7e6
commit
fd0ad89116
1 changed files with 2 additions and 1 deletions
|
|
@ -258,7 +258,8 @@ cairo_headers += [cairo_features_file]
|
|||
libcairo_dep = declare_dependency(link_with: libcairo,
|
||||
dependencies: deps,
|
||||
include_directories: incsrc,
|
||||
compile_args: cairo_static_args,
|
||||
compile_args: cairo_static_args + pthread_c_args,
|
||||
link_args: pthread_link_args,
|
||||
)
|
||||
|
||||
pkgmod.generate(libcairo,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue