diff options
author | Nomis101 <[email protected]> | 2019-08-19 21:38:24 +0200 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2019-08-21 22:45:32 -0400 |
commit | 30db0a991464d8d63eba64d7699c7c0e140e9ec6 (patch) | |
tree | 157cc64dfccc199463f847576654beeb7d3d000a /macosx/module.defs | |
parent | d6cb1346460fb016df525637ffcc10ff65530d44 (diff) |
make: Add a configure.py option to enable app sandbox.
Currently only implemented for macOS. If it will be implemented on other systems, it can be switched based on the target system, per https://github.com/HandBrake/HandBrake/issues/428#issuecomment-522677832
Diffstat (limited to 'macosx/module.defs')
-rw-r--r-- | macosx/module.defs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/module.defs b/macosx/module.defs index fc6ad9e02..23ba4a824 100644 --- a/macosx/module.defs +++ b/macosx/module.defs @@ -21,7 +21,11 @@ BUILD.out += $(MACOSX.osl.filelist) MACOSX.project = -project $(MACOSX.src/)HandBrake.xcodeproj ## configuration: must be one of { release, debug } -MACOSX.configuration = -configuration $(MACOSX.map.g.$(MACOSX.GCC.g)) +ifeq (1,$(FEATURE.sandbox)) + MACOSX.configuration = -configuration $(MACOSX.map.g.$(MACOSX.GCC.g))-sandbox +else + MACOSX.configuration = -configuration $(MACOSX.map.g.$(MACOSX.GCC.g)) +endif ## mapping from symbolic debug value to xcode configuration MACOSX.map.g.none = release |