[PATCH] meson: create a symlink for pipewire-pulse instead of building binary twice
Because meson does not have native support for symlinks.
See https://github.com/mesonbuild/meson/issues/1602
Inspired by xserver:
a3931ec6f4
Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
Gbp-Pq: Name Don-t-build_same_binary_twice.patch
This commit is contained in:
parent
df4240d326
commit
c5863c822e
|
@ -91,12 +91,11 @@ pipewire_exec = executable('pipewire',
|
|||
dependencies : [ spa_dep, pipewire_dep, ],
|
||||
)
|
||||
|
||||
executable('pipewire-pulse',
|
||||
pipewire_daemon_sources,
|
||||
install: true,
|
||||
c_args : pipewire_c_args,
|
||||
include_directories : [ configinc ],
|
||||
dependencies : [ spa_dep, pipewire_dep, ],
|
||||
meson.add_install_script(
|
||||
'sh', '-c',
|
||||
'ln -fs pipewire @0@@1@'.format(
|
||||
'${DESTDIR}',
|
||||
join_paths(get_option('prefix'), get_option('bindir'), 'pipewire-pulse'))
|
||||
)
|
||||
|
||||
ln = find_program('ln')
|
||||
|
|
Loading…
Reference in New Issue