diff options
author | Job Bautista <jobbautista9@aol.com> | 2023-04-23 11:56:05 +0800 |
---|---|---|
committer | Job Bautista <jobbautista9@aol.com> | 2023-04-23 13:51:11 +0800 |
commit | a12787e98558b8fc329f867795a0266692e600da (patch) | |
tree | b4e118b29eb5d8d334580c608d7dd1be88dca82b /toolkit | |
parent | e2acdfd18d17a9364abd67361a17736ac10ce1ca (diff) | |
download | uxp-a12787e98558b8fc329f867795a0266692e600da.tar.gz |
Issue #1451 - Split hunspell library out of xul.
utf_info.cxx imported from 1.4.1 upstream.
Also moved unicode_info struct to the header to fix bustage with compiling the
new utf_info.cxx.
I've also gone ahead and deunified this new shared library as unified building
is busting in hunspell.cxx, complaining about config.h not being found. Weird
that it only happens in unified mode.
This reduces libxul size on all platforms by ~200 KB.
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/library/moz.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolkit/library/moz.build b/toolkit/library/moz.build index 76a711bae4..a80cf1dc73 100644 --- a/toolkit/library/moz.build +++ b/toolkit/library/moz.build @@ -196,6 +196,8 @@ if CONFIG['MOZ_SYSTEM_JPEG']: if CONFIG['MOZ_SYSTEM_HUNSPELL']: OS_LIBS += CONFIG['MOZ_HUNSPELL_LIBS'] +else: + USE_LIBS += [ 'hunspell' ] if not CONFIG['MOZ_TREE_PIXMAN']: OS_LIBS += CONFIG['MOZ_PIXMAN_LIBS'] |