File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ set PROJECT=libcurl
5
5
set GITHUB_REPO = curl/curl
6
6
7
7
:: get the latest release tag from GitHub
8
- ::
9
- :: note: The curl project tags a release different.
10
8
cd %~dp0
11
- for /f " usebackq delims=" %%i in (`call %BASH% '../scripts/get-latest-github-release-tag.sh %GITHUB_REPO% curl'`) do (
9
+ for /f " usebackq delims=" %%i in (`call %BASH% '../scripts/get-latest-github-release-tag.sh %GITHUB_REPO% curl- '`) do (
12
10
set TAG = %%i
13
11
)
14
12
41
39
echo ### Installing
42
40
ninja install || exit /b 1
43
41
42
+ :: install PDB file
43
+ xcopy /Y /F lib\libcurl*.pdb " %INSTALL_PREFIX% \bin\" || exit /b 1
44
+
44
45
:: rename libcurl-d_imp.lib to curl.lib to allow linking using -lcurl
45
46
move /y " %INSTALL_PREFIX% \lib\libcurl*.lib" " %INSTALL_PREFIX% \lib\curl.lib" || exit /b 1
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ exit /b %errorlevel%
49
49
echo .
50
50
:: check out tag/branch if any
51
51
if not " %TAG% " == " " (
52
- echo ### Checking out %TAG%
52
+ echo ### Checking out " %TAG% "
53
53
git fetch --tags || exit /b 1
54
54
git checkout -q %TAG% || exit /b 1
55
55
)
You can’t perform that action at this time.
0 commit comments