[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, ],
|
dependencies : [ spa_dep, pipewire_dep, ],
|
||||||
)
|
)
|
||||||
|
|
||||||
executable('pipewire-pulse',
|
meson.add_install_script(
|
||||||
pipewire_daemon_sources,
|
'sh', '-c',
|
||||||
install: true,
|
'ln -fs pipewire @0@@1@'.format(
|
||||||
c_args : pipewire_c_args,
|
'${DESTDIR}',
|
||||||
include_directories : [ configinc ],
|
join_paths(get_option('prefix'), get_option('bindir'), 'pipewire-pulse'))
|
||||||
dependencies : [ spa_dep, pipewire_dep, ],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ln = find_program('ln')
|
ln = find_program('ln')
|
||||||
|
|
Loading…
Reference in New Issue