From c9818c02ecd9750eb9fd95ce510a31eb1d99e1f7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 5 Dec 2016 14:27:05 +0100 Subject: add builtin support for localstatedir Reported-by: Richard Hughes Closes: https://github.com/mesonbuild/meson/issues/1142 Signed-off-by: Igor Gnatenko --- data/macros.meson | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'data') diff --git a/data/macros.meson b/data/macros.meson index 4b91c70..97d8a23 100644 --- a/data/macros.meson +++ b/data/macros.meson @@ -10,17 +10,18 @@ export LDFLAGS="%{?__global_ldflags}" \ mkdir -p %{__builddir} \ pushd %{__builddir} \ - %{__meson} \\\ - --buildtype=plain \\\ - --prefix=%{_prefix} \\\ - --libdir=%{_libdir} \\\ - --libexecdir=%{_libexecdir} \\\ - --bindir=%{_bindir} \\\ - --includedir=%{_includedir} \\\ - --datadir=%{_datadir} \\\ - --mandir=%{_mandir} \\\ - --localedir=%{_datadir}/locale \\\ - --sysconfdir=%{_sysconfdir} \\\ + %{__meson} \\\ + --buildtype=plain \\\ + --prefix=%{_prefix} \\\ + --libdir=%{_libdir} \\\ + --libexecdir=%{_libexecdir} \\\ + --bindir=%{_bindir} \\\ + --includedir=%{_includedir} \\\ + --datadir=%{_datadir} \\\ + --mandir=%{_mandir} \\\ + --localedir=%{_datadir}/locale \\\ + --sysconfdir=%{_sysconfdir} \\\ + --localstatedir=%{_localstatedir} \\\ $OLDPWD/%{__sourcedir} \ popd -- cgit v1.1