From 8e279c79f88608a4ab4dfc74c0a66a7947ea1482 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 15 Aug 2014 01:39:49 +0300 Subject: 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 --- sal/Library_sal.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'sal/Library_sal.mk') 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 -- cgit