summaryrefslogtreecommitdiffstats
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-15 01:39:49 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-15 01:55:41 +0300
commit8e279c79f88608a4ab4dfc74c0a66a7947ea1482 (patch)
tree53d700552a4cdc143780fe5d38efbc31a4b2d838 /sal/Library_sal.mk
parentDon't do the annoying restart thing when sandboxed on OS X, ignore risks... (diff)
downloadcore-8e279c79f88608a4ab4dfc74c0a66a7947ea1482.tar.gz
core-8e279c79f88608a4ab4dfc74c0a66a7947ea1482.zip
Don't do the security scope bookmark dance if not in a sandboxed process
No point in doing it in build-time tools like cppumaker which don't run as sandboxed processes. Just slows them down a lot, while cfprefsd consumes lots of CPU doing user preference lookups in vain for every file accessed through the uunxapi functions. Change-Id: I83e55a8e8d0c4f2c60c60ecad2c831e42c9e5bfd
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 16c4876eb642..77d4176ed111 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -81,6 +81,7 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,sal,\
Carbon \
CoreFoundation \
Foundation \
+ $(if $(ENABLE_MACOSX_SANDBOX),Security) \
))
endif