|
|
|
@ -82,7 +82,7 @@ class MesonApp(): |
|
|
|
|
def __init__(self, dir1, dir2, script_file, handshake, options): |
|
|
|
|
(self.source_dir, self.build_dir) = self.validate_dirs(dir1, dir2, handshake) |
|
|
|
|
if not os.path.isabs(options.prefix): |
|
|
|
|
raise RuntimeError('--prefix must be an absolute path.') |
|
|
|
|
raise RuntimeError('--prefix value \'{0}\' must be an absolute path: '.format(options.prefix)) |
|
|
|
|
if options.prefix.endswith('/') or options.prefix.endswith('\\'): |
|
|
|
|
options.prefix = options.prefix[:-1] |
|
|
|
|
self.meson_script_file = script_file |
|
|
|
|