diff options
Diffstat (limited to 'mythes/makefile.mk')
-rw-r--r-- | mythes/makefile.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mythes/makefile.mk b/mythes/makefile.mk index 94fa611f1dd0..77d88bc4ca5f 100644 --- a/mythes/makefile.mk +++ b/mythes/makefile.mk @@ -47,6 +47,11 @@ PATCH_FILES=mythes-1.2.0-vanilla-th-gen-idx.patch \ .IF "$(GUI)"=="UNX" CONFIGURE_DIR=$(BUILD_DIR) +.IF "$(SYSTEM_HUNSPELL)" != "YES" +HUNSPELL_CFLAGS +:= -I$(SOLARINCDIR)$/hunspell +HUNSPELL_LIBS +:= -L$(SOLARLIBDIR) -lhunspell-1.2 +.ENDIF + #relative to CONFIGURE_DIR # still needed also in system-mythes case as it creates the makefile CONFIGURE_ACTION=configure @@ -104,3 +109,7 @@ OUT2INC += mythes.hxx .INCLUDE : target.mk .INCLUDE : tg_ext.mk +.IF "$(SYSTEM_HUNSPELL)" != "YES" +.EXPORT: HUNSPELL_LIBS HUNSPELL_CFLAGS +.ENDIF + |