From 71c9fd27724171b9d7bf2c672d8249c303a304ba Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 25 Apr 2023 03:01:35 +0300 Subject: [PATCH] wscript: do not check for --prefix without --enable-packaging, as it's still valid to use --- wscript | 3 --- 1 file changed, 3 deletions(-) diff --git a/wscript b/wscript index 93eaa4c7..252fb5b6 100644 --- a/wscript +++ b/wscript @@ -434,9 +434,6 @@ int main(int argc, char **argv) { strchrnul(argv[1], 'x'); return 0; }''' conf.env.LIBDIR = conf.env.BINDIR = conf.env.LIBDIR + '/xash3d' conf.env.SHAREDIR = '${PREFIX}/share/xash3d' else: - if conf.options.prefix != default_prefix: - conf.fatal('--prefix option makes no sense without --enable-packaging!') - conf.env.SHAREDIR = conf.env.LIBDIR = conf.env.BINDIR = conf.env.PREFIX if not conf.options.BUILD_BUNDLED_DEPS: