summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz-ng/hb-dummy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/hb-dummy.cc')
-rw-r--r--src/3rdparty/harfbuzz-ng/hb-dummy.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/3rdparty/harfbuzz-ng/hb-dummy.cc b/src/3rdparty/harfbuzz-ng/hb-dummy.cc
new file mode 100644
index 0000000000..490b8ae35c
--- /dev/null
+++ b/src/3rdparty/harfbuzz-ng/hb-dummy.cc
@@ -0,0 +1,8 @@
+// Work-around for issue with qmake: Since hb-common.cc has #include "hb-static.cc" in it,
+// qmake will assume it is included and ignore it in the SOURCES list. But the #include
+// is protected inside an #ifdef and will not be used, so hb-static.cc ends up not being
+// linked at all and we get missing symbols. We work around this by including both in
+// the same compilation unit.
+
+#include "src/hb-common.cc"
+#include "src/hb-static.cc"