summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-23 20:08:24 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-23 21:04:49 +0000
commita65efe6bd00fbba4f075c4c666dafafb8a5eed4d (patch)
tree8f1a2a71331545fa1afb23aef133cd6929c56d03 /wscript
parent5ab0c3bc04e4aa5acd883bb8126fc6b185c6c5d6 (diff)
Add dcpomatic2_uuid tool.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index de9c82d2c..16c3ef979 100644
--- a/wscript
+++ b/wscript
@@ -619,8 +619,9 @@ def create_version_cc(version, cxx_flags):
sys.exit(-1)
def post(ctx):
- if ctx.cmd == 'install':
+ if ctx.cmd == 'install' and ctx.env.TARGET_LINUX:
ctx.exec_command('/sbin/ldconfig')
+ os.chmod(os.path.join(ctx.env.PREFIX, 'bin/dcpomatic2_uuid'), 0o4755)
def pot(bld):
bld.recurse('src')