Issue #2290 - Hunspell must be built into libxul on SunOS.

This commit is contained in:
athenian200 2023-08-18 10:29:49 -05:00 committed by roytam1
commit 62f3da2156
2 changed files with 12 additions and 5 deletions

View file

@ -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',

View file

@ -196,7 +196,7 @@ if CONFIG['MOZ_SYSTEM_JPEG']:
if CONFIG['MOZ_SYSTEM_HUNSPELL']:
OS_LIBS += CONFIG['MOZ_HUNSPELL_LIBS']
else:
elif CONFIG['OS_TARGET'] != 'SunOS':
USE_LIBS += [ 'hunspell' ]
if not CONFIG['MOZ_TREE_PIXMAN']: