author Gregory Szorc <>
Thu, 28 Feb 2013 12:56:40 +0100
changeset 134481 614fb1e40f6cfb10344d5d0ea6e76032cf2db017
parent 107587 3cc378b302c9513af0f94dc515c99b32a1bccc80
child 140492 390be7c3dd3af133b30169e35cc59f8894d4b006
permissions -rw-r--r--
Bug 784841 - Part 20: Fixes to support building external projects; r=glandium This is extremely hacky. It will likely need many refinements as we figure out how we want external projects to be handled.

# Pymake needs Windows-style paths. Use cmd.exe to hack around this.
mk_export_correct_style() {
  if test -n "${_PYMAKE}"; then
    mk_add_options "export $1=$(cmd.exe //c echo %$1%)"
    mk_add_options "export $1=$(eval echo \$$1)"