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 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 += [ FINAL_LIBRARY = 'xul'
else:
SharedLibrary('hunspell')
USE_LIBS += [
'mozglue' 'mozglue'
] ]
LOCAL_INCLUDES += [ LOCAL_INCLUDES += [
'../glue', '../glue',

View file

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