aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 920fbf61a21..d94513889c9 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -270,6 +270,8 @@ class MachCommands(CommandBase):
print("Can't find Visual C++ %s installation at %s." % (vs_version, vcinstalldir))
sys.exit(1)
+ env['PKG_CONFIG_ALLOW_CROSS'] = "1"
+
if uwp:
# Don't try and build a desktop port.
libsimpleservo = True