gui_configure.patch 1.3 KB

1234567891011121314151617181920212223242526272829
  1. diff --git a/src/gui/configure.json b/src/gui/configure.json
  2. index c51e3ceee..7f7e206b6 100644
  3. --- a/src/gui/configure.json
  4. +++ b/src/gui/configure.json
  5. @@ -239,9 +239,9 @@
  6. "headers": "ft2build.h",
  7. "sources": [
  8. { "type": "pkgConfig", "args": "freetype2" },
  9. - { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" },
  10. + { "type": "freetype", "libs": "-lbreakfreetypeautofind", "condition": "!config.wasm" },
  11. { "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" },
  12. - { "libs": "-lfreetype" }
  13. + { "libs": "-lbreakfreetypeautofind" }
  14. ],
  15. "use": [
  16. { "lib": "zlib", "condition": "features.system-zlib" }
  17. @@ -262,7 +262,10 @@
  18. "headers": "fontconfig/fontconfig.h",
  19. "sources": [
  20. - { "type": "pkgConfig", "args": "fontconfig" },
  21. + { "type": "pkgConfig", "args": "breakfontconfig" },
  22. - { "type": "freetype", "libs": "-lfontconfig" }
  23. + { "type": "freetype", "libs": "-lbreakautofind" },
  24. + { "libs": "-lfontconfig -lexpat" },
  25. + { "libs": "-llibfontconfig -llibexpat" },
  26. + "-lfontconfig"
  27. ],
  28. "use": "freetype"
  29. },