Browse Source

HS 2.0R2: Keep backward compatibility with old icu

This allows hs20-osu-client to be build with additional Android
versions.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dmitry Shmidt 10 years ago
parent
commit
a5257a7a27
1 changed files with 4 additions and 0 deletions
  1. 4 0
      hs20/client/Android.mk

+ 4 - 0
hs20/client/Android.mk

@@ -8,7 +8,11 @@ INCLUDES += external/openssl/include
 INCLUDES += external/libxml2/include
 INCLUDES += external/curl/include
 INCLUDES += external/webkit/Source/WebKit/gtk
+ifneq ($(wildcard external/icu),)
+INCLUDES += external/icu/icu4c/source/common
+else
 INCLUDES += external/icu4c/common
+endif
 
 
 #GTKCFLAGS := $(shell pkg-config --cflags gtk+-2.0 webkit-1.0)