From ab4538b1bc6771b18a66ef7e38b463a3bf9fd2fd Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 14 Sep 2021 10:03:12 +0200 Subject: [PATCH] build: remove pointless prefixdir validation Meson will handle this internall and treat a non-absolute path as an error. Signed-off-by: Christian Brauner --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build index 733172de3..aac9330e3 100644 --- a/meson.build +++ b/meson.build @@ -37,9 +37,6 @@ project_build_root = meson.current_build_dir() # encountered, so this should canonicalize various paths when they are # absolute or relative. prefixdir = get_option('prefix') -if not prefixdir.startswith('/') - error('Prefix is not absolute: "@0@"'.format(prefixdir)) -endif bindir = join_paths(prefixdir, get_option('bindir')) datadir = join_paths(prefixdir, get_option('datadir')) docdir = join_paths(prefixdir, get_option('docdir')) -- 2.47.2