summary refs log tree commit diff stats
path: root/win32/dep-extract-x64.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win32/dep-extract-x64.bat')
-rw-r--r--win32/dep-extract-x64.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/win32/dep-extract-x64.bat b/win32/dep-extract-x64.bat
new file mode 100644
index 00000000..e346891a
--- /dev/null
+++ b/win32/dep-extract-x64.bat
@@ -0,0 +1,25 @@
+@echo off

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

+

+cd deps-x64

+::obs 7z x -y *.rpm

+::obs 7z x *.cpio

+::obs del *.cpio

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

+::obs rmdir /q /s usr

+::obs set OPATH=%PATH%

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

+::obs cd lib

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

+::obs 	gendef %%A

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

+::obs )

+::obs cd ..

+::obs set PATH=%OPATH%

+7z x -y *.zip

+7z x *.7z

+::obs 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