]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
build: remove pointless prefixdir validation
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 14 Sep 2021 08:03:12 +0000 (10:03 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 14 Sep 2021 08:03:12 +0000 (10:03 +0200)
Meson will handle this internall and treat a non-absolute path as an
error.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
meson.build

index 733172de393fff0b39d78dbe9985498833d04a9b..aac9330e30e25f15e6fd5ad6d648402458d21316 100644 (file)
@@ -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'))