build/mozconfig.vs2010-common
author Wes Johnston <wjohnston@mozilla.com>
Thu, 13 Sep 2012 14:16:14 -0700
changeset 109790 1f82974dc08c381e63b73db36b045c5ef5e6cdf2
parent 107587 3cc378b302c9513af0f94dc515c99b32a1bccc80
child 140492 390be7c3dd3af133b30169e35cc59f8894d4b006
permissions -rw-r--r--
Bug 783921 - Follow up to fix jni function names. r=mfinkle a=akeybl

# 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%)"
  else
    mk_add_options "export $1=$(eval echo \$$1)"
  fi
}