summarylogtreecommitdiffstats
path: root/hb-fc-whole-archive.patch
blob: 464fe6fef0bf97cb79fee9118cf60d4d62f0768a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/UI/Qt/CMakeLists.txt b/UI/Qt/CMakeLists.txt
--- a/UI/Qt/CMakeLists.txt
+++ b/UI/Qt/CMakeLists.txt
@@ -79,7 +79,7 @@
     )
 endif()
 
-target_link_libraries(ladybird PRIVATE Qt::Core Qt::Gui Qt::Widgets)
+target_link_libraries(ladybird PRIVATE Qt::Core Qt::Gui Qt::Widgets -Wl,--whole-archive harfbuzz fontconfig -Wl,--no-whole-archive)
 
 if (TARGET Qt6::Positioning)
     target_sources(ladybird PRIVATE GeolocationProviderQt.cpp GeolocationProviderQt.h)