Skip to content

Commit 6fbf55c

Browse files
zhuyalianglukefromdc
authored andcommitted
Fix meson build libexecdir to the correct path
Fix #74
1 parent 4b078a1 commit 6fbf55c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ gettext_package = meson.project_name()
1515
prefix = get_option('prefix')
1616
datadir = join_paths(prefix, get_option('datadir'))
1717
sysconfdir = join_paths(prefix, get_option('sysconfdir'))
18+
libexecdir = join_paths(prefix, get_option('libexecdir'))
1819
# Dependencies
1920

2021
glib_dep = dependency('glib-2.0', version : glib_version)

src/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ executable('polkit-mate-authentication-agent-1',
2727
include_directories : config_inc,
2828
c_args : c_args + ['-DPOLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE'] + ['-DHAVE_CONFIG_H'],
2929
install : true,
30-
install_dir: get_option('libexecdir')
30+
install_dir: libexecdir
3131
)
3232

3333
# .desktop file
3434

3535
desktop_data = configuration_data()
36-
desktop_data.set('FULL_LIBEXECDIR', get_option('libexecdir'))
36+
desktop_data.set('FULL_LIBEXECDIR', libexecdir)
3737
desktop_in_file = configure_file(
3838
input : 'polkit-mate-authentication-agent-1.desktop.in.in',
3939
output : 'polkit-mate-authentication-agent-1.desktop.in',

0 commit comments

Comments
 (0)