diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-15 21:46:14 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-16 09:26:42 +0200 |
commit | 69b04c22986b03c675cf4925f76721190aa5ba82 (patch) | |
tree | 0db9bc0e099bd4b50f20879802399406c31e45b3 /libexttextcat | |
parent | 3c445370a920987433efc97013aef187b6d29737 (diff) |
Fix libexttextcat build for Android
Diffstat (limited to 'libexttextcat')
-rw-r--r-- | libexttextcat/android.patch | 20 | ||||
-rw-r--r-- | libexttextcat/makefile.mk | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/libexttextcat/android.patch b/libexttextcat/android.patch new file mode 100644 index 000000000000..e82851d8a798 --- /dev/null +++ b/libexttextcat/android.patch @@ -0,0 +1,20 @@ +--- misc/libexttextcat-3.2.0/config.sub ++++ misc/build/libexttextcat-3.2.0/config.sub +@@ -120,7 +120,7 @@ + # Here we must recognize all the valid KERNEL-OS combinations. + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in +- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ ++ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) +@@ -1250,7 +1250,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ ++ | -mingw32* | -linux-gnu* | -linux-androideabi* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ diff --git a/libexttextcat/makefile.mk b/libexttextcat/makefile.mk index b90a4d70bb7d..7633a0b553dd 100644 --- a/libexttextcat/makefile.mk +++ b/libexttextcat/makefile.mk @@ -49,6 +49,8 @@ TARFILE_MD5=e1c178b18f130b40494561f02bc1a948 TARFILE_ROOTDIR=libexttextcat-3.2.0 PATCH_FILES=libexttextcat-3.2.0-visibility.patch +PATCH_FILES = android.patch + .IF "$(GUI)"=="UNX" .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE" EXTRA_CFLAGS+=-fvisibility=hidden |