File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ set PROJECT=libcurl
55set GITHUB_REPO = curl/curl
66
77:: get the latest release tag from GitHub
8- ::
9- :: note: The curl project tags a release different.
108cd %~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 (
1210 set TAG = %%i
1311)
1412
4139echo ### Installing
4240ninja install || exit /b 1
4341
42+ :: install PDB file
43+ xcopy /Y /F lib\libcurl*.pdb " %INSTALL_PREFIX% \bin\" || exit /b 1
44+
4445:: rename libcurl-d_imp.lib to curl.lib to allow linking using -lcurl
4546move /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%
4949 echo .
5050 :: check out tag/branch if any
5151 if not " %TAG% " == " " (
52- echo ### Checking out %TAG%
52+ echo ### Checking out " %TAG% "
5353 git fetch --tags || exit /b 1
5454 git checkout -q %TAG% || exit /b 1
5555 )
You can’t perform that action at this time.
0 commit comments