Use prefix variable in pkgconfig file
This commit is contained in:
parent
c7322f406c
commit
cf140f3ab0
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user