added a workaround to BuildUtil to avoid the suffix problems that appeared with scons 0.96.92
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4775 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cce2dd6547
commit
9ab6953c56
1 changed files with 5 additions and 0 deletions
|
@ -503,6 +503,11 @@ def BuildUtil(target, source, libs, entry = None, res = None,
|
|||
if file_name != '':
|
||||
target = "%s/%s" % (target, file_name)
|
||||
|
||||
# make sure the environment suffix fits
|
||||
if env['PROGSUFFIX'] not in target:
|
||||
if '.' in target:
|
||||
env['PROGSUFFIX'] = target[target.rindex('.'):]
|
||||
|
||||
util = env.Program(target, source, LIBS = libs)
|
||||
defenv.Alias(target, util)
|
||||
defenv.Alias('utils', util)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue