summaryrefslogtreecommitdiff
path: root/desktop/Executable_soffice_bin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Executable_soffice_bin.mk')
-rw-r--r--desktop/Executable_soffice_bin.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/Executable_soffice_bin.mk b/desktop/Executable_soffice_bin.mk
index cabd31af29f2..2a146dfd44d8 100644
--- a/desktop/Executable_soffice_bin.mk
+++ b/desktop/Executable_soffice_bin.mk
@@ -29,6 +29,13 @@ $(eval $(call gb_Executable_set_ldflags,\
$(filter-out -bind_at_load,$$(LDFLAGS)) \
))
+# At least when building against SDK 10.15, changing the LC_VERSION_MIN_MACOSX load command's sdk
+# value from 10.15 to "n/a" (i.e., 0.0) is necessary to avoid blurry text in the LO UI:
+$(eval $(call gb_Executable_add_ldflags,soffice_bin, \
+ -Xlinker -platform_version -Xlinker macos -Xlinker $(MAC_OS_X_VERSION_MIN_REQUIRED_DOTS) \
+ -Xlinker 0.0 \
+))
+
endif
ifeq ($(OS),WNT)