Same fix again for KDM.
[dcpomatic.git] / wscript
diff --git a/wscript b/wscript
index de9c82d2c6f606167e5513af83f9a281f2b5c63a..16c3ef9793cafe37dafd186a0dd628f2bbcf5ae9 100644 (file)
--- 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')