summary refs log tree commit diff stats
path: root/build/strawberry-importlib.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build/strawberry-importlib.bat')
-rw-r--r--build/strawberry-importlib.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/build/strawberry-importlib.bat b/build/strawberry-importlib.bat
new file mode 100644
index 00000000..61da96b3
--- /dev/null
+++ b/build/strawberry-importlib.bat
@@ -0,0 +1,19 @@
+@echo off
+set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
+cd c:\mozilla-build\perl-5.12-x86\perl\lib\CORE
+echo.Overwrite existing def file?
+pause
+dumpbin /exports ..\..\bin\perl512.dll > perl512.def
+echo.Please adjust the resulting file manually, then hit return!
+pause
+lib /machine:x86 /def:perl512.def
+pause
+set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64
+cd c:\mozilla-build\perl-5.12-x64\perl\lib\CORE
+echo.Overwrite existing def file?
+pause
+dumpbin /exports ..\..\bin\perl512.dll > perl512.def
+echo.Please adjust the resulting file manually, then hit return!
+pause
+lib /machine:x64 /def:perl512.def
+pause