summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-05 20:21:30 +0100
committerCarl Hetherington <cth@carlh.net>2021-12-05 20:21:44 +0100
commit178961c18cdbc93ef0059483ba170401df77daa1 (patch)
tree79410c1875c428eef3ff33526c3769c243d95690
parentc3fa6a152bf03cc0ea2369091bba8a2b1e3b0e99 (diff)
Add setcap command to "normal" waf-based install.
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5c729bd43..3d44ebda0 100644
--- a/wscript
+++ b/wscript
@@ -664,6 +664,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')
+ ctx.exec_command('setcap "cap_dac_override+ep cap_sys_admin+ep" %s/bin/dcpomatic2_disk_writer' % ctx.options.prefix)
def pot(bld):
bld.recurse('src')