diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-08 00:42:35 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-10-08 00:42:35 +0200 |
commit | 6e209f8eba0ae2a1c79b6b4da2a58007fd3efdb7 (patch) | |
tree | a08aca2b062ae968b42db5bc3af6c49ec2eb132d /ext | |
parent | 9bbe4c17b06a258d162b1d964acfab4ccc516ade (diff) |
update openssl to use relative paths for certs
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl-wdk/build-x64.bat | 14 | ||||
-rw-r--r-- | ext/openssl-wdk/build-x86.bat | 14 |
2 files changed, 24 insertions, 4 deletions
diff --git a/ext/openssl-wdk/build-x64.bat b/ext/openssl-wdk/build-x64.bat index 400310a1..0f9d51ef 100644 --- a/ext/openssl-wdk/build-x64.bat +++ b/ext/openssl-wdk/build-x64.bat @@ -1,14 +1,24 @@ @echo off +set OPENSSL_DEST=..\openssl-wdk-1.0.0a-x86 set INCLUDE=c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt;c:\WinDDK\7600.16385.1\inc\ddk;c:\mozilla-build\build\openssl-1.0.0a\ms;c:\mozilla-build\build\zlib-x64\include set LIB=c:\WinDDK\7600.16385.1\lib\wnet\amd64;c:\WinDDK\7600.16385.1\lib\Crt\amd64;c:\mozilla-build\build\zlib-x64\lib set PATH=c:\WinDDK\7600.16385.1\bin\x86\amd64;c:\WinDDK\7600.16385.1\bin\x86;c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;c:\mozilla-build\perl-5.12-x64\bin;c:\Windows\System32;c:\mozilla-build\nasm;c:\mozilla-build\build\zlib-x64\bin -perl Configure VC-WIN64A enable-camellia no-asm zlib-dynamic --openssldir=c:/mozilla-build/build/openssl-wdk-1.0.0a-x64 +perl Configure VC-WIN64A enable-camellia no-asm zlib-dynamic --openssldir=./ call ms\do_win64a nmake -f ms\ntdll.mak vclean nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak test echo.Press return when ready to install! pause +move include include-orig nmake -f ms\ntdll.mak install -perl util\copy.pl c:/mozilla-build/build/zlib-x64/bin/zlib1.dll c:/mozilla-build/build/openssl-wdk-1.0.0a-x64/bin +rmdir /q /s %OPENSSL_DEST% +mkdir %OPENSSL_DEST% +move bin %OPENSSL_DEST% +move include %OPENSSL_DEST% +move lib %OPENSSL_DEST% +move openssl.cnf %OPENSSL_DEST% +move include-orig include +copy c:\mozilla-build\build\zlib-x64\bin\zlib1.dll %OPENSSL_DEST%\bin echo.Finished! +pause diff --git a/ext/openssl-wdk/build-x86.bat b/ext/openssl-wdk/build-x86.bat index 77a31dfc..38739b09 100644 --- a/ext/openssl-wdk/build-x86.bat +++ b/ext/openssl-wdk/build-x86.bat @@ -1,8 +1,9 @@ @echo off +set OPENSSL_DEST=..\openssl-wdk-1.0.0a-x86 set INCLUDE=c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt;c:\WinDDK\7600.16385.1\inc\ddk;c:\mozilla-build\build\openssl-1.0.0a\ms;c:\mozilla-build\build\zlib-x86\include set LIB=c:\WinDDK\7600.16385.1\lib\wxp\i386;c:\WinDDK\7600.16385.1\lib\Crt\i386;c:\mozilla-build\build\zlib-x86\lib set PATH=c:\WinDDK\7600.16385.1\bin\x86\x86;c:\WinDDK\7600.16385.1\bin\x86;c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;c:\mozilla-build\perl-5.12-x86\bin;c:\Windows\System32;c:\mozilla-build\nasm;c:\mozilla-build\build\zlib-x86\bin -perl Configure VC-WIN32 enable-camellia zlib-dynamic --openssldir=c:/mozilla-build/build/openssl-wdk-1.0.0a-x86 +perl Configure VC-WIN32 enable-camellia zlib-dynamic --openssldir=./ call ms\do_nasm @echo off nmake -f ms\ntdll.mak vclean @@ -10,6 +11,15 @@ nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak test echo.Press return when ready to install! pause +move include include-orig nmake -f ms\ntdll.mak install -perl util\copy.pl c:/mozilla-build/build/zlib-x86/bin/zlib1.dll c:/mozilla-build/build/openssl-wdk-1.0.0a-x86/bin +rmdir /q /s %OPENSSL_DEST% +mkdir %OPENSSL_DEST% +move bin %OPENSSL_DEST% +move include %OPENSSL_DEST% +move lib %OPENSSL_DEST% +move openssl.cnf %OPENSSL_DEST% +move include-orig include +copy c:\mozilla-build\build\zlib-x86\bin\zlib1.dll %OPENSSL_DEST%\bin echo.Finished! +pause |