Maybe we don't need setuid root on macOS any more.
authorCarl Hetherington <cth@carlh.net>
Sat, 4 Apr 2020 23:39:53 +0000 (01:39 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 4 Apr 2020 23:39:53 +0000 (01:39 +0200)
wscript

diff --git a/wscript b/wscript
index e0399ad719312d1c9499374284614fc95fb0ab49..a94fee8bae830ee8985275671cbcfbb5d96785dd 100644 (file)
--- a/wscript
+++ b/wscript
@@ -695,7 +695,6 @@ 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,