From fdb6c5f480be7dc0fe9652c4d7c9f5a2516df3c6 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 28 Jun 2019 14:22:22 +1000 Subject: [PATCH] wrapper: add built resources to RESOURCE_PREPEND --- wrapper.py.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wrapper.py.in b/wrapper.py.in index cd95d58..9866873 100755 --- a/wrapper.py.in +++ b/wrapper.py.in @@ -130,6 +130,8 @@ if searchvar in env: else: env[searchvar] = search +env['RESOURCE_PREPEND'] = "@COMPILED_RESOURCE_DIR@" + # It's probably unnecessary to pipe std res = subprocess.run(sys.argv[1:], env=env, stderr=sys.stderr, stdout=sys.stdout) sys.exit(res.returncode)