diff --git a/meson.build b/meson.build index 39806dd..ff24ab4 100644 --- a/meson.build +++ b/meson.build @@ -37,9 +37,9 @@ cdata = configuration_data() cdata.set_quoted('PACKAGE', meson.project_name()) cdata.set_quoted('PACKAGE_BUGREPORT', 'https://github.com/nirenjan/libx52/issues') cdata.set_quoted('PACKAGE_NAME', meson.project_name()) -cdata.set_quoted('LOCALEDIR', get_option('localedir')) -cdata.set_quoted('SYSCONFDIR', get_option('sysconfdir')) -cdata.set_quoted('LOCALSTATEDIR', get_option('localstatedir')) +cdata.set_quoted('LOCALEDIR', get_option('prefix') / get_option('localedir')) +cdata.set_quoted('SYSCONFDIR', get_option('prefix') / get_option('sysconfdir')) +cdata.set_quoted('LOCALSTATEDIR', get_option('prefix') / get_option('localstatedir')) cdata.set_quoted('PACKAGE_VERSION', meson.project_version()) cdata.set_quoted('VERSION', meson.project_version()) cdata.set10('ENABLE_NLS', get_option('nls').enabled())