Libraries on host side is needed to make pkg-config work

This commit is contained in:
Cheng Zhao 2015-07-02 05:27:12 +00:00
parent f569617d24
commit b261c5f87c

View file

@ -10,16 +10,13 @@ from lib.util import execute, rm_rf, scoped_env
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
LINUX_DEPS = [ LINUX_DEPS = [
'gcc-multilib',
'g++-multilib',
]
LINUX_DEPS_AMD64 = [
'libdbus-1-dev', 'libdbus-1-dev',
'libgconf2-dev', 'libgconf2-dev',
'libgnome-keyring-dev', 'libgnome-keyring-dev',
'libgtk2.0-dev', 'libgtk2.0-dev',
'libnotify-dev', 'libnotify-dev',
'gcc-multilib',
'g++-multilib',
] ]
LINUX_DEPS_ARM = [ LINUX_DEPS_ARM = [
@ -43,8 +40,6 @@ def main():
deps = LINUX_DEPS deps = LINUX_DEPS
if target_arch == 'arm': if target_arch == 'arm':
deps += LINUX_DEPS_ARM deps += LINUX_DEPS_ARM
elif target_arch == 'x64':
deps += LINUX_DEPS_AMD64
execute(['sudo', 'apt-get', 'install'] + deps) execute(['sudo', 'apt-get', 'install'] + deps)
os.environ['DISPLAY'] = ':99.0' os.environ['DISPLAY'] = ':99.0'