add prefix to the configuration data

pull/460/head
Дамјан Георгиевски 2019-09-10 14:12:52 +02:00
parent ce50249c04
commit 4b24c19fa7
1 changed files with 2 additions and 0 deletions

View File

@ -64,7 +64,9 @@ libudev = dependency('libudev', required: get_option('libudev'))
libmpdclient = dependency('libmpdclient', required: get_option('mpd')) libmpdclient = dependency('libmpdclient', required: get_option('mpd'))
systemd = dependency('systemd', required: get_option('systemd')) systemd = dependency('systemd', required: get_option('systemd'))
prefix = get_option('prefix')
conf_data = configuration_data() conf_data = configuration_data()
conf_data.set('prefix', prefix)
if systemd.found() if systemd.found()
user_units_dir = systemd.get_pkgconfig_variable('systemduserunitdir') user_units_dir = systemd.get_pkgconfig_variable('systemduserunitdir')