wscript: fix install

This commit is contained in:
Alibek Omarov 2018-10-08 22:38:59 +03:00
parent 8710922a61
commit 649f32a185
2 changed files with 3 additions and 4 deletions

2
mainui

@ -1 +1 @@
Subproject commit c8f22ee638d6009db1998e72956ddae26fa39724
Subproject commit f6ed54a4b35f5aa6477f739a7cad78b4e897a747

View File

@ -123,9 +123,8 @@ def configure(conf):
conf.env.DEST_OS != 'darwin'):
conf.env.LIBDIR = conf.env.BINDIR = '${PREFIX}/lib/xash3d'
else:
# prefix is ignored
conf.env.LIBDIR = conf.env.BINDIR = '/'
conf.env.LIBDIR = conf.env.BINDIR = conf.env.PREFIX
conf.start_msg('Checking git hash')
git_version = get_git_version()
conf.end_msg(git_version)