From c1deab2be36f4ca7e04a0fd1ef2188fed6cfbbda Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Wed, 23 Oct 2024 22:52:49 +0200 Subject: [PATCH] meson: Collect all prefix get_option at one place Signed-off-by: Sedat Dilek Link: https://lore.kernel.org/r/20241023205352.45271-1-sedat.dilek@gmail.com Signed-off-by: Lucas De Marchi --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 58acf2ea..2ed33c28 100644 --- a/meson.build +++ b/meson.build @@ -187,6 +187,7 @@ sysconfdir = get_option('sysconfdir') cdata.set_quoted('SYSCONFDIR', sysconfdir) bindir = join_paths(get_option('prefix'), get_option('bindir')) +includedir = join_paths(get_option('prefix'), get_option('includedir')) libdir = join_paths(get_option('prefix'), get_option('libdir')) distconfdir = get_option('distconfdir') @@ -493,7 +494,7 @@ summary({ 'sysconfdir' : sysconfdir, 'distconfdir' : distconfdir, 'libdir' : libdir, - 'includedir' : join_paths(get_option('prefix'), get_option('includedir')), + 'includedir' : includedir, 'bindir' : bindir }, section : 'Directories') -- 2.47.3