set path for pkg-config when using sysroot

This commit is contained in:
Robo 2016-03-09 19:41:17 +05:30
parent 91951472bf
commit dfe1641d1e
4 changed files with 154 additions and 23 deletions

View file

@ -260,5 +260,11 @@
},
},
}], # OS=="mac"
['OS=="linux"', {
'variables': {
'pkg-config': '<(source_root)/tools/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"',
},
}], # OS=="linux"
],
}