Use prefix variable in pkgconfig file
This commit is contained in:
parent
3099c652bb
commit
a26cc20d21
@ -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