From cf140f3ab0cc7ccc96f25fbc3c06cdefbb2e8d67 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 23 Sep 2018 16:58:18 -0400 Subject: Use prefix variable in pkgconfig file --- data/pkgconfig/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/pkgconfig/meson.build b/data/pkgconfig/meson.build index 3bacf301..079e3987 100644 --- a/data/pkgconfig/meson.build +++ b/data/pkgconfig/meson.build @@ -2,8 +2,8 @@ pkg_conf = configuration_data() prefix = get_option('prefix') pkg_conf.set('prefix', prefix) pkg_conf.set('VERSION', meson.project_version()) -pkg_conf.set('hexchatlibdir', join_paths(prefix, plugindir)) -pkg_conf.set('includedir', join_paths(prefix, get_option('includedir'))) +pkg_conf.set('hexchatlibdir', join_paths('${prefix}', plugindir)) +pkg_conf.set('includedir', join_paths('${prefix}', get_option('includedir'))) configure_file( input: 'hexchat-plugin.pc.in', -- cgit 1.4.1