mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
build: use define_variable for get_pkgconfig_variable
On NixOS all packages are installed into their own immutable prefix. Because of this get_pkgconfig_variable will return a path from within systemd's prefix and we cannot write to it. By using define_variable we can replace the respective directory to be from the paths from meson.
This commit is contained in:
parent
73da0f8878
commit
6b06341b14
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
systemd_user_services_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
|
systemd_user_services_dir = systemd.get_pkgconfig_variable('systemduserunitdir', define_variable : [ 'prefix', prefix])
|
||||||
|
|
||||||
install_data(sources : 'pipewire.socket', install_dir : systemd_user_services_dir)
|
install_data(sources : 'pipewire.socket', install_dir : systemd_user_services_dir)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue