Index: build/config/linux/pkg_config.gni |
diff --git a/build/config/linux/pkg_config.gni b/build/config/linux/pkg_config.gni |
index 914ca8d6e728ae8eb3826e760246c6561fe28df6..459a2edf8f8ccdd345f71a042ac2f7aa2a1f8406 100644 |
--- a/build/config/linux/pkg_config.gni |
+++ b/build/config/linux/pkg_config.gni |
@@ -41,7 +41,7 @@ if (sysroot != "") { |
# Pass the sysroot if we're using one (it requires the CPU arch also). |
pkg_config_args = [ |
"-s", |
- sysroot, |
+ rebase_path(sysroot), |
"-a", |
current_cpu, |
] |