1 diff --git a/meson_options.txt b/meson_options.txt
2 index 961ae2a76..692b84dfd 100644
3 --- a/meson_options.txt
4 +++ b/meson_options.txt
5 @@ -179,6 +179,9 @@ option('udev',
8 description : 'Directory for udev rules (defaults to /lib/udev/rules.d)')
9 +option('pipewire_pulse_prefix',
11 + description: 'Install directory for the pipewire-pulse daemon')
12 option('systemd-system-unit-dir',
14 description : 'Directory for system systemd units (defaults to /usr/lib/systemd/system)')
15 diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build
16 index d17f3794f..34afe4f1a 100644
17 --- a/src/daemon/systemd/user/meson.build
18 +++ b/src/daemon/systemd/user/meson.build
19 @@ -9,7 +9,7 @@ install_data(
21 systemd_config = configuration_data()
22 systemd_config.set('PW_BINARY', pipewire_bindir / 'pipewire')
23 -systemd_config.set('PW_PULSE_BINARY', pipewire_bindir / 'pipewire-pulse')
24 +systemd_config.set('PW_PULSE_BINARY', get_option('pipewire_pulse_prefix') / 'bin/pipewire-pulse')
26 configure_file(input : 'pipewire.service.in',
27 output : 'pipewire.service',