mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-14 08:21:47 -04:00
meson.build: make spa-json-dump available for subprojects
Add override that provides host binary for subprojects to use. Also fix cross-compilation to use the host binary.
This commit is contained in:
parent
0b0912cc5b
commit
5fa137cc0d
2 changed files with 15 additions and 2 deletions
|
|
@ -18,6 +18,13 @@ spa_dep = declare_dependency(
|
|||
},
|
||||
)
|
||||
|
||||
spa_inc_dep = declare_dependency(
|
||||
include_directories : [
|
||||
include_directories('include'),
|
||||
include_directories('include-private'),
|
||||
],
|
||||
)
|
||||
|
||||
meson.override_dependency('lib@0@'.format(spa_name), spa_dep)
|
||||
|
||||
pkgconfig.generate(filebase : 'lib@0@'.format(spa_name),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue