meson: Use sysconfdir to access /etc/profile.d

Change-Id: I39ed87d666a2636f0660c31f992ed4e9ce9e77f8
Signed-off-by: Aleksandr Mikhailov <iam@fidonode.me>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Aleksandr Mikhailov 2025-04-25 14:36:13 +03:00 committed by Jeffy Chen
parent 1e45b0960a
commit 08a277688b

View file

@ -333,7 +333,7 @@ custom_target(
output : 'mali-priority.sh',
command : ['echo', 'export MALI_SCHED_RT_THREAD_PRIORITY=95'],
capture : true,
install_dir : '/etc/profile.d',
install_dir : get_option('sysconfdir') / 'profile.d',
install : true)
# Install optional overlay