Install libmagic in macos for zimwriterfs.

This commit is contained in:
Matthieu Gautier 2018-04-18 17:45:16 +02:00
parent 28c38695f1
commit 1773f0fa28
2 changed files with 3 additions and 1 deletions

View File

@ -123,9 +123,11 @@ PACKAGE_NAME_MAPPERS = {
}, },
'Darwin_native_dyn': { 'Darwin_native_dyn': {
'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'], 'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'],
'file': ['libmagic']
}, },
'Darwin_iOS': { 'Darwin_iOS': {
'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'], 'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'],
'file': ['libmagic']
}, },
} }

View File

@ -187,7 +187,7 @@ if environ['TRAVIS_EVENT_TYPE'] != 'cron' and not make_release:
TARGETS = ('kiwix-android',) TARGETS = ('kiwix-android',)
elif PLATFORM.startswith('native_'): elif PLATFORM.startswith('native_'):
if TRAVIS_OS_NAME == "osx": if TRAVIS_OS_NAME == "osx":
TARGETS = ('kiwix-lib', ) TARGETS = ('kiwix-lib', 'zim-tools', 'zimwriterfs')
else: else:
TARGETS = ('kiwix-tools', 'zim-tools', 'zimwriterfs') TARGETS = ('kiwix-tools', 'zim-tools', 'zimwriterfs')
else: else: