summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-02-18 01:14:42 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-02-18 01:49:26 +0200
commitf5cea39979f395b586ae1a52c8adfe4ff0176466 (patch)
tree40766e47f510ad22cfe3dc4f539c60c48c6c820c
parente72e8dcd332474321439eb266528eb7e5fc8809f (diff)
Use STDLIBCUIMT so that the sample executables link for Android
Without using STDLIBCUIMT and the -lgnustl_shared it contains the sample executables in hunspell and mythes won't link. Sure, they won't be used for anything, but it's easier this way than to patch out building them.
-rw-r--r--hunspell/makefile.mk2
-rw-r--r--mythes/makefile.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index 8cf2e4ed3f08..a1c035ac6e32 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -69,7 +69,7 @@ CONFIGURE_FLAGS+=CPPFLAGS="$(EXTRA_CDEFS)"
.ENDIF
.IF "$(CROSS_COMPILING)"=="YES"
-CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) LIBS="$(STDLIBCUIMT)"
.ENDIF
BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
diff --git a/mythes/makefile.mk b/mythes/makefile.mk
index f10d0a07fd54..46520fc7568e 100644
--- a/mythes/makefile.mk
+++ b/mythes/makefile.mk
@@ -81,7 +81,7 @@ CONFIGURE_FLAGS+=CFLAGS='$(LCL_CONFIGURE_CFLAGS)'
.ENDIF
.IF "$(CROSS_COMPILING)"=="YES"
-CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no LIBS="$(STDLIBCUIMT)"
.ENDIF
BUILD_ACTION=make