Do not try to compile kiwix-desktop on native_static.

QtWebEngine is not compatible with static compilation so we should not
try to compile kiwix-desktop on native_static.
This commit is contained in:
Matthieu Gautier 2018-06-13 14:35:02 +02:00
parent 5ba66db13d
commit d74cd1d50a
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ elif PLATFORM.startswith('native_'):
if TRAVIS_OS_NAME == "osx":
TARGETS = ('libzim', 'zimwriterfs', 'zim-tools', 'kiwix-lib')
else:
if make_release:
if make_release or PLATFORM == 'native_static':
TARGETS = ('libzim', 'zimwriterfs', 'zim-tools', 'kiwix-lib', 'kiwix-tools')
else:
TARGETS = ('libzim', 'kiwix-lib', 'kiwix-desktop', 'zimwriterfs', 'zim-tools', 'kiwix-tools')