From b0dc27edfad78421c2c443318b5507eaad3230e1 Mon Sep 17 00:00:00 2001 From: Oleg Korshul Date: Fri, 17 Nov 2023 17:12:47 +0300 Subject: [PATCH] Fix build hb on unix --- Common/3dParty/harfbuzz/.gitignore | 1 + Common/3dParty/harfbuzz/make.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Common/3dParty/harfbuzz/.gitignore b/Common/3dParty/harfbuzz/.gitignore index 61c4c49726..6096c5eddf 100644 --- a/Common/3dParty/harfbuzz/.gitignore +++ b/Common/3dParty/harfbuzz/.gitignore @@ -1,2 +1,3 @@ harfbuzz/ harfbuzz.pri +module.version diff --git a/Common/3dParty/harfbuzz/make.py b/Common/3dParty/harfbuzz/make.py index a2d12f4189..fbee78e985 100755 --- a/Common/3dParty/harfbuzz/make.py +++ b/Common/3dParty/harfbuzz/make.py @@ -42,7 +42,9 @@ if not base.is_dir("harfbuzz"): qmake_content_lines.append("SRC_DIR = $$PWD/harfbuzz/src") qmake_content_lines.append("") - qmake_content_lines.append("DEFINES += HAVE_FREETYPE") + qmake_content_lines.append("DEFINES += \\") + qmake_content_lines.append(" HAVE_FREETYPE \\") + qmake_content_lines.append(" HB_NO_VISIBILITY") qmake_content_lines.append("") qmake_content_lines.append("INCLUDEPATH += \\") qmake_content_lines.append(" $$SRC_DIR \\")