Auto merge of #12338 - upsuper:win-geckolib-fix, r=bholley

Fix geckolib build for Windows

It contains several fixes to make `./mach build-geckolib` work on Windows.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12338)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-08 11:14:48 -07:00 committed by GitHub
commit 35a23bfef3
4 changed files with 15 additions and 4 deletions

View file

@ -6,7 +6,7 @@ import json
import os.path
import sys
BASE = os.path.dirname(__file__)
BASE = os.path.dirname(__file__.replace('\\', '/'))
sys.path.insert(0, os.path.join(BASE, "Mako-0.9.1.zip"))
sys.path.insert(0, BASE) # For importing `data.py`