mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
meson: actually honor pkgconfig*dir options (#9841)
both were silently ignored leading to some of the pkg-config files ending up in the wrong place
This commit is contained in:
parent
cf3872bd28
commit
a95696e33d
@ -90,8 +90,8 @@ if rootlibdir == ''
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Dirs of external packages
|
# Dirs of external packages
|
||||||
pkgconfigdatadir = join_paths(datadir, 'pkgconfig')
|
pkgconfigdatadir = get_option('pkgconfigdatadir') == '' ? join_paths(datadir, 'pkgconfig') : get_option('pkgconfigdatadir')
|
||||||
pkgconfiglibdir = join_paths(libdir, 'pkgconfig')
|
pkgconfiglibdir = get_option('pkgconfiglibdir') == '' ? join_paths(libdir, 'pkgconfig') : get_option('pkgconfiglibdir')
|
||||||
polkitpolicydir = join_paths(datadir, 'polkit-1/actions')
|
polkitpolicydir = join_paths(datadir, 'polkit-1/actions')
|
||||||
polkitrulesdir = join_paths(datadir, 'polkit-1/rules.d')
|
polkitrulesdir = join_paths(datadir, 'polkit-1/rules.d')
|
||||||
polkitpkladir = join_paths(localstatedir, 'lib/polkit-1/localauthority/10-vendor.d')
|
polkitpkladir = join_paths(localstatedir, 'lib/polkit-1/localauthority/10-vendor.d')
|
||||||
|
@ -130,7 +130,7 @@ option('dbussessionservicedir', type : 'string',
|
|||||||
description : 'D-Bus session service directory')
|
description : 'D-Bus session service directory')
|
||||||
option('dbussystemservicedir', type : 'string',
|
option('dbussystemservicedir', type : 'string',
|
||||||
description : 'D-Bus system service directory')
|
description : 'D-Bus system service directory')
|
||||||
option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
|
option('pkgconfigdatadir', type : 'string', value : '',
|
||||||
description : 'directory for ')
|
description : 'directory for ')
|
||||||
option('pkgconfiglibdir', type : 'string', value : '',
|
option('pkgconfiglibdir', type : 'string', value : '',
|
||||||
description : 'directory for ')
|
description : 'directory for ')
|
||||||
|
Loading…
Reference in New Issue
Block a user