From 1773f0fa28cbca46bf5a9978dad0bfcc344e6beb Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 18 Apr 2018 17:45:16 +0200 Subject: [PATCH] Install libmagic in macos for zimwriterfs. --- kiwixbuild/__init__.py | 2 ++ travis/compile_all.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kiwixbuild/__init__.py b/kiwixbuild/__init__.py index a5ea5fb..5d6379c 100644 --- a/kiwixbuild/__init__.py +++ b/kiwixbuild/__init__.py @@ -123,9 +123,11 @@ PACKAGE_NAME_MAPPERS = { }, 'Darwin_native_dyn': { 'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'], + 'file': ['libmagic'] }, 'Darwin_iOS': { 'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'], + 'file': ['libmagic'] }, } diff --git a/travis/compile_all.py b/travis/compile_all.py index 72f7f78..269bf6b 100755 --- a/travis/compile_all.py +++ b/travis/compile_all.py @@ -187,7 +187,7 @@ if environ['TRAVIS_EVENT_TYPE'] != 'cron' and not make_release: TARGETS = ('kiwix-android',) elif PLATFORM.startswith('native_'): if TRAVIS_OS_NAME == "osx": - TARGETS = ('kiwix-lib', ) + TARGETS = ('kiwix-lib', 'zim-tools', 'zimwriterfs') else: TARGETS = ('kiwix-tools', 'zim-tools', 'zimwriterfs') else: