mirror of
https://github.com/depler/curl-impersonate-win.git
synced 2025-04-27 07:26:34 +00:00
Submodules BoringSSL and Curl with copy script (#8)
This commit is contained in:
parent
76f81dd422
commit
77d68066a7
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[submodule "curl_original"]
|
||||
path = curl_original
|
||||
url = https://github.com/curl/curl.git
|
||||
[submodule "boringssl_original"]
|
||||
path = boringssl_original
|
||||
url = https://github.com/google/boringssl.git
|
@ -16,8 +16,8 @@ MSYS2 is needed to build binaries. Steps:
|
||||
3. Install additional packages: `pacman -S patch mingw-w64-x86_64-make mingw-w64-x86_64-cmake mingw-w64-x86_64-nasm mingw-w64-x86_64-gcc mingw-w64-x86_64-go`
|
||||
|
||||
# Build
|
||||
1. Download and unpack curl and boringssl source code into according folders (see versions)
|
||||
2. Run scripts `patch_curl.bat` and `patch_boringssl.bat` to patch source code
|
||||
1. Clone this repository with --recursive attribute to get BoringSSL and Curl submodules.
|
||||
2. Run script `copy_and_patch.bat` to copy original source codes to patchable directories and patch source code.
|
||||
3. Run script `build.bat` to build binaries. Ready to use binaries are located within `curl\bin` folder.
|
||||
|
||||
In case if everything goes fine you should see this:
|
||||
|
1
boringssl_original
Submodule
1
boringssl_original
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 3a667d10e94186fd503966f5638e134fe9fb4080
|
7
copy_and_patch.bat
Normal file
7
copy_and_patch.bat
Normal file
@ -0,0 +1,7 @@
|
||||
xcopy .\boringssl_original\* .\boringssl\ /r /d /i /s /y /exclude:.\patch\excludecopy.txt
|
||||
xcopy .\curl_original\* .\curl\ /r /d /i /s /y /exclude:.\patch\excludecopy.txt
|
||||
|
||||
start patch_boringssl.bat
|
||||
start patch_curl.bat
|
||||
|
||||
pause
|
1
curl_original
Submodule
1
curl_original
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 45ac4d019475df03562fe0ac54eb67e1d1de0ca7
|
4
patch/excludecopy.txt
Normal file
4
patch/excludecopy.txt
Normal file
@ -0,0 +1,4 @@
|
||||
.git
|
||||
.gitignore
|
||||
.gitattribute
|
||||
.git-blame-ignore-revs
|
Loading…
Reference in New Issue
Block a user