summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-03 23:07:27 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-03 23:07:27 +0200
commit20435d662926e7b3227e8d3167841caad184f85a (patch)
treee187f04eaf8b73018e5b11393a9353eb0ae27ad0 /wscript
parent68ede5cc5b72f85a42c3c20ce69ed4849dd6e51e (diff)
Try to do setuid for disk_writer on macOS.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index a94fee8ba..e0399ad71 100644
--- a/wscript
+++ b/wscript
@@ -695,6 +695,7 @@ def create_version_cc(version, cxx_flags):
def post(ctx):
if ctx.cmd == 'install' and ctx.env.TARGET_LINUX:
ctx.exec_command('/sbin/ldconfig')
+ if ctx.cmd == 'install' and (ctx.env.TARGET_LINUX or ctx.env.TARGET_OSX):
# setuid root executables
for e in ['dcpomatic2_uuid', 'dcpomatic2_disk_writer']:
# I can't find anything which tells me where things have been installed to,