meson/libnm.pc: set vpnservicedir path relative to ${prefix}

Make it possible to relocate it under a different prefix:

  $ pkg-config --define-variable=prefix=/whatever
               --variable=vpnservicedir libnm

https://github.com/NetworkManager/NetworkManager/pull/202
This commit is contained in:
Soapux 2018-09-14 12:47:51 -05:00 committed by Lubomir Rintel
parent 803514df27
commit a31271d154

View file

@ -184,7 +184,7 @@ pkg.generate(
requires: 'gio-2.0',
variables: [
'exec_prefix=${prefix}',
'vpnservicedir=' + join_paths(nm_pkglibdir, 'VPN')
'vpnservicedir=' + join_paths('${prefix}', 'lib', nm_name, 'VPN')
]
)