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:03:04 +0300 |
commit | 96d091d43428472c2c68054ed5dca22f79adc705 (patch) | |
tree | e7db4481bc379b9628347a526e348928c22bcd7b /svx/Library_svxcore.mk | |
parent | 1e721077b43de84edab2a3ed2f316ddcbec6e3ec (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
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 7efaf278d413..1536ee6ae551 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -90,6 +90,18 @@ $(eval $(call gb_Library_use_externals,svxcore,\ glew \ )) +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 \ |