summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-07-28 00:05:58 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-28 00:05:58 +0200
commitb6a0e0d086d5b314742b9ecc84f2392b5dada5c8 (patch)
treef36732cd713830b9dc773fbda986846b53b80679 /build
parent7061c055f1eb466484c7a2a561ceda5f177d203b (diff)
polish the building process of the perl interface
Diffstat (limited to 'build')
-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