From: Christian Brauner Date: Tue, 14 Sep 2021 08:03:12 +0000 (+0200) Subject: build: remove pointless prefixdir validation X-Git-Tag: lxc-4.0.11~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab4538b1bc6771b18a66ef7e38b463a3bf9fd2fd;p=thirdparty%2Flxc.git build: remove pointless prefixdir validation Meson will handle this internall and treat a non-absolute path as an error. Signed-off-by: Christian Brauner --- 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'))