[CTPP2] Always depend on ctpp2c.

Even on android we are compiling the resources. So we need ctpp2c all the
time.
This commit is contained in:
Matthieu Gautier 2017-07-17 11:05:53 +02:00
parent 5972b0b2b0
commit 9a73c5796e
1 changed files with 2 additions and 2 deletions

View File

@ -292,9 +292,9 @@ class Kiwixlib(Dependency):
@property @property
def dependencies(self): def dependencies(self):
base_dependencies = ["pugixml", "libzim", "zlib", "lzma"] base_dependencies = ["pugixml", "libzim", "zlib", "lzma", "ctpp2c"]
if self.buildEnv.platform_info.build != 'android': if self.buildEnv.platform_info.build != 'android':
base_dependencies += ['ctpp2', 'ctpp2c'] base_dependencies += ['ctpp2']
if self.buildEnv.platform_info.build != 'native': if self.buildEnv.platform_info.build != 'native':
return base_dependencies + ["icu4c_cross-compile"] return base_dependencies + ["icu4c_cross-compile"]
else: else: