diff options
author | Rene Engelhard <rene@openoffice.org> | 2010-06-15 14:55:18 +0200 |
---|---|---|
committer | Rene Engelhard <rene@openoffice.org> | 2010-06-15 14:55:18 +0200 |
commit | e9ec610d7d371536ada9130907a649ed7ba9c226 (patch) | |
tree | 9b5255b96010d236c2756baca0ceaa5ebae157c2 /mythes | |
parent | 6b675d212c99e2cc56768adbffe7dcc6eab132fb (diff) |
mythes12: fix build without pkg-config/hunspell on system
Diffstat (limited to 'mythes')
-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 + |