diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-08 11:28:00 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-08 19:06:40 +0300 |
commit | 8c127a28fb3e5ba322cae1696a45e20359215850 (patch) | |
tree | fa5f42504a5fabcca99233ec44e974e86c791f16 /svx/Library_svxcore.mk | |
parent | 1efecdfac65b5eafa7b56d8eafb70d39107144ce (diff) |
Don't try to create cdefghij.klm inside the app bundle on OS X when sandboxed
Actually, we check HAVE_FEATURE_READONLY_INSTALLSET and not
HAVE_FEATURE_MACOSX_SANDBOX, but in practice we set the former only
for the latter case.
We could do this test cross-platform but I didn't bother now. Nobody
uses --enable-readonly-installset when building for Linux or Windows
anyway, I think.
(There must be more places where we could and should check
HAVE_FEATURE_READONLY_INSTALLSET.)
Change-Id: Ie54f436616a1db3119b0bc0148149784127b156d
(cherry picked from commit 96d091d43428472c2c68054ed5dca22f79adc705)
Diffstat (limited to 'svx/Library_svxcore.mk')
-rw-r--r-- | svx/Library_svxcore.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/svx/Library_svxcore.mk b/svx/Library_svxcore.mk index 4b8914e2cca1..cc7bc062b668 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -82,6 +82,18 @@ $(eval $(call gb_Library_use_externals,svxcore,\ icuuc \ )) +ifeq ($(OS),MACOSX) + +$(eval $(call gb_Library_add_cxxflags,svxcore,\ + $(gb_OBJCXXFLAGS) \ +)) + +$(eval $(call gb_Library_use_system_darwin_frameworks,svxcore,\ + Foundation \ +)) + +endif + $(eval $(call gb_Library_add_exception_objects,svxcore,\ svx/source/core/coreservices \ svx/source/core/extedit \ |