diff options
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | src/meson.build | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 2dac299..cc10ed9 100644 --- a/meson.build +++ b/meson.build @@ -15,6 +15,7 @@ gettext_package = meson.project_name() prefix = get_option('prefix') datadir = join_paths(prefix, get_option('datadir')) sysconfdir = join_paths(prefix, get_option('sysconfdir')) +libexecdir = join_paths(prefix, get_option('libexecdir')) # Dependencies glib_dep = dependency('glib-2.0', version : glib_version) diff --git a/src/meson.build b/src/meson.build index 0a56598..63c14e2 100644 --- a/src/meson.build +++ b/src/meson.build @@ -27,13 +27,13 @@ executable('polkit-mate-authentication-agent-1', include_directories : config_inc, c_args : c_args + ['-DPOLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE'] + ['-DHAVE_CONFIG_H'], install : true, - install_dir: get_option('libexecdir') + install_dir: libexecdir ) # .desktop file desktop_data = configuration_data() -desktop_data.set('FULL_LIBEXECDIR', get_option('libexecdir')) +desktop_data.set('FULL_LIBEXECDIR', libexecdir) desktop_in_file = configure_file( input : 'polkit-mate-authentication-agent-1.desktop.in.in', output : 'polkit-mate-authentication-agent-1.desktop.in', |