mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 18:18:15 +02:00
meson: find threads_dep early and also use it in the wpipc-client
This commit is contained in:
parent
a2477d2d2c
commit
226ae5772e
3 changed files with 3 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ wpipc_lib = library('wpipc-' + wpipc_api_version,
|
|||
'-DG_LOG_DOMAIN="wpipc"',
|
||||
],
|
||||
install: true,
|
||||
dependencies : [dependency('threads'), spa_dep],
|
||||
dependencies : [threads_dep, spa_dep],
|
||||
soversion: wpipc_so_version,
|
||||
version: meson.project_version(),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ giounix_dep = dependency('gio-unix-2.0', version : glib_req_version)
|
|||
spa_dep = dependency('libspa-0.2', version: '>= 0.2')
|
||||
pipewire_dep = dependency('libpipewire-0.3', version: '>= 0.3.20')
|
||||
mathlib = cc.find_library('m')
|
||||
threads_dep = dependency('threads')
|
||||
|
||||
if get_option('system-lua')
|
||||
lua_dep = dependency('lua', version: ['>=5.3.0', '<5.4.0'], required: false)
|
||||
|
|
|
|||
|
|
@ -18,6 +18,6 @@ if wpipc_dep.found()
|
|||
'-DG_LOG_DOMAIN="wpipc-client"',
|
||||
],
|
||||
install: false,
|
||||
dependencies : [wpipc_dep],
|
||||
dependencies : [wpipc_dep, threads_dep],
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue