mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson.build: install symbolic links instead of compiling multiple times
Currently, among others, the `pipewire-pulse` executable is an exact copy of the `pipewire` executable. Use meson's `install_symlink()` to avoid the need for compiling the same thing multiple times. Also use `custom_target()` so that the aliases are available in an uninstalled environment. Do the same for `pw-cat`. The benefit is that all aliases of `pw-cat` are now available in an uninstalled environment. This commit increasese the minimum meson version to 0.61.1 as that is needed for `install_symlink()`. The reason for using 0.61.1 instead of 0.61.0 is the following bug: https://github.com/mesonbuild/meson/issues/9820
This commit is contained in:
parent
f3230ca2e6
commit
1ef43a5255
3 changed files with 32 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
|||
project('pipewire', ['c' ],
|
||||
version : '0.3.67',
|
||||
license : [ 'MIT', 'LGPL-2.1-or-later', 'GPL-2.0-only' ],
|
||||
meson_version : '>= 0.59.0',
|
||||
meson_version : '>= 0.61.1',
|
||||
default_options : [ 'warning_level=3',
|
||||
'c_std=gnu11',
|
||||
'cpp_std=c++17',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue