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