summaryrefslogtreecommitdiff
path: root/extensions/spellcheck/hunspell
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/spellcheck/hunspell')
-rw-r--r--extensions/spellcheck/hunspell/src/moz.build15
1 files changed, 11 insertions, 4 deletions
diff --git a/extensions/spellcheck/hunspell/src/moz.build b/extensions/spellcheck/hunspell/src/moz.build
index 09764ec711..01f49ddd03 100644
--- a/extensions/spellcheck/hunspell/src/moz.build
+++ b/extensions/spellcheck/hunspell/src/moz.build
@@ -19,11 +19,18 @@ SOURCES += [
DEFINES['BUILDING_LIBHUNSPELL'] = True
-SharedLibrary('hunspell')
+# Hunspell must be built into libxul on SunOS. See UXP Issue #2290.
+if CONFIG['OS_TARGET'] == 'SunOS':
-USE_LIBS += [
- 'mozglue'
-]
+ FINAL_LIBRARY = 'xul'
+
+else:
+
+ SharedLibrary('hunspell')
+
+ USE_LIBS += [
+ 'mozglue'
+ ]
LOCAL_INCLUDES += [
'../glue',