summary refs log tree commit diff stats
path: root/build/dep-extract-x64.bat
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-28 15:37:36 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-28 15:37:36 +0100
commitec29822ef45b0522bc7caa7e30d1c575a1b9f8c0 (patch)
tree4046e0d4cb1e116fe3801aa3316874bb0d3a50dc /build/dep-extract-x64.bat
parent53c223dea44cd54fb6aca2de952da49a8105d1b0 (diff)
obs fixes part 1
Diffstat (limited to 'build/dep-extract-x64.bat')
-rw-r--r--build/dep-extract-x64.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/dep-extract-x64.bat b/build/dep-extract-x64.bat
new file mode 100644
index 00000000..d6381cb3
--- /dev/null
+++ b/build/dep-extract-x64.bat
@@ -0,0 +1,24 @@
+@echo off

+set PATH=%PATH%;%PROGRAMW6432%\7-Zip;c:\mozilla-build\gendef

+

+cd ..\dep-x64

+7z x -y *.rpm

+7z x *.cpio

+del *.cpio

+xcopy /q /s /i usr\x86_64-w64-mingw32\sys-root\mingw\* .

+rmdir /q /s usr

+set OPATH=%PATH%

+set PATH=%PATH%;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64

+cd lib

+for %%A in (..\bin\*.dll) do (

+	gendef %%A

+	lib /nologo /machine:x64 /def:%%~nA.def

+)

+cd ..

+set PATH=%OPATH%

+7z x *.7z

+copy /y ..\build\glibconfig-x64.h lib\glib-2.0\include\glibconfig.h

+cd share\locale

+del /q /s gettext-tools.mo

+del /q /s gettext-runtime.mo

+pause