wscript: do not check for --prefix without --enable-packaging, as it's still valid to use

This commit is contained in:
Alibek Omarov 2023-04-25 03:01:35 +03:00
parent 1464e1e2be
commit 71c9fd2772
1 changed files with 0 additions and 3 deletions

View File

@ -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: