wrapper: add built resources to RESOURCE_PREPEND

This commit is contained in:
Danny Robson 2019-06-28 14:22:22 +10:00
parent 32d2f6ecae
commit fdb6c5f480

View File

@ -130,6 +130,8 @@ if searchvar in env:
else: else:
env[searchvar] = search env[searchvar] = search
env['RESOURCE_PREPEND'] = "@COMPILED_RESOURCE_DIR@"
# It's probably unnecessary to pipe std # It's probably unnecessary to pipe std
res = subprocess.run(sys.argv[1:], env=env, stderr=sys.stderr, stdout=sys.stdout) res = subprocess.run(sys.argv[1:], env=env, stderr=sys.stderr, stdout=sys.stdout)
sys.exit(res.returncode) sys.exit(res.returncode)