mirror of
https://github.com/depler/curl-impersonate-win.git
synced 2025-08-03 17:20:10 +00:00
Submodules BoringSSL and Curl with copy script (#8)
This commit is contained in:
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`
|
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
|
# Build
|
||||||
1. Download and unpack curl and boringssl source code into according folders (see versions)
|
1. Clone this repository with --recursive attribute to get BoringSSL and Curl submodules.
|
||||||
2. Run scripts `patch_curl.bat` and `patch_boringssl.bat` to patch source code
|
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.
|
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:
|
In case if everything goes fine you should see this:
|
||||||
|
1
boringssl_original
Submodule
1
boringssl_original
Submodule
Submodule boringssl_original added at 3a667d10e9
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
Submodule curl_original added at 45ac4d0194
4
patch/excludecopy.txt
Normal file
4
patch/excludecopy.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
.gitattribute
|
||||||
|
.git-blame-ignore-revs
|
Reference in New Issue
Block a user