Add a patch for macOS native dyn
This commit is contained in:
parent
91952aba33
commit
3e835d0c74
|
@ -109,6 +109,9 @@ PACKAGE_NAME_MAPPERS = {
|
|||
'COMMON': _debian_common + ['default-jdk'],
|
||||
'ctpp2c': ['ctpp2-utils'],
|
||||
},
|
||||
'Darwin_native_dyn': {
|
||||
'COMMON': ['autoconf', 'automake', 'libtool', 'cmake', 'pkg-config'],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
@ -455,6 +458,9 @@ class BuildEnv:
|
|||
elif self.distname in ('debian', 'Ubuntu'):
|
||||
package_installer = 'sudo apt-get install {}'
|
||||
package_checker = 'LANG=C dpkg -s {} 2>&1 | grep Status | grep "ok installed" 1>/dev/null 2>&1'
|
||||
elif self.distname == 'Darwin':
|
||||
package_installer = 'brew install {}'
|
||||
package_checker = 'brew list -1 | grep -q {}'
|
||||
mapper_name = "{host}_{target}".format(
|
||||
host=self.distname,
|
||||
target=self.platform_info)
|
||||
|
|
Loading…
Reference in New Issue