Use prefix variable in pkgconfig file

This commit is contained in:
Patrick Griffis 2018-09-23 16:58:18 -04:00
parent c7322f406c
commit cf140f3ab0
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ pkg_conf = configuration_data()
prefix = get_option('prefix') prefix = get_option('prefix')
pkg_conf.set('prefix', prefix) pkg_conf.set('prefix', prefix)
pkg_conf.set('VERSION', meson.project_version()) pkg_conf.set('VERSION', meson.project_version())
pkg_conf.set('hexchatlibdir', join_paths(prefix, plugindir)) pkg_conf.set('hexchatlibdir', join_paths('${prefix}', plugindir))
pkg_conf.set('includedir', join_paths(prefix, get_option('includedir'))) pkg_conf.set('includedir', join_paths('${prefix}', get_option('includedir')))
configure_file( configure_file(
input: 'hexchat-plugin.pc.in', input: 'hexchat-plugin.pc.in',