meson: use absolute path for rpmmacrosdir
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Nov 2017 12:22:13 +0000 (13:22 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Nov 2017 12:22:13 +0000 (13:22 +0100)
This only matter for the status display at the end of configure step.
Now it looks like:
         RPM macros dir:                    /usr/lib/rpm/macros.d

meson.build

index 2215458..c3be7c1 100644 (file)
@@ -77,7 +77,7 @@ polkitrulesdir = join_paths(datadir, 'polkit-1/rules.d')
 polkitpkladir = join_paths(localstatedir, 'lib/polkit-1/localauthority/10-vendor.d')
 varlogdir = join_paths(localstatedir, 'log')
 xinitrcdir = join_paths(sysconfdir, 'X11/xinit/xinitrc.d')
-rpmmacrosdir = get_option('rpmmacrosdir')
+rpmmacrosdir = join_paths(prefixdir, get_option('rpmmacrosdir'))
 modprobedir = join_paths(rootprefixdir, 'lib/modprobe.d')
 
 # Our own paths