Skip to content

Commit 02788d8

Browse files
committed
Don't put spaces in between libs since it breaks the env variable value passed to the command.
1 parent 4d3f252 commit 02788d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

buildscripts/kokoro/windows32.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ for /f "tokens=*" %%a in ('pkg-config --libs protobuf') do (
6868
set lib=!lib: =!
6969
@rem Because protobuf is specified as libprotobuf and elsewhere
7070
if !lib! NEQ protobuf (
71-
set lib=!lib!.lib,
71+
set lib=!lib!.lib
7272
if "%libs_list%"=="" (
7373
set libs_list=!lib!
7474
) else (
75-
set libs_list=!libs_list! !lib!
75+
set libs_list=!libs_list!,!lib!
7676
)
7777
)
7878
)

buildscripts/kokoro/windows64.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ for /f "tokens=*" %%a in ('pkg-config --libs protobuf') do (
5252
set lib=!lib: =!
5353
@rem Because protobuf is specified as libprotobuf and elsewhere
5454
if !lib! NEQ protobuf (
55-
set lib=!lib!.lib,
55+
set lib=!lib!.lib
5656
if "!libs_list!"=="" (
5757
set libs_list=!lib!
5858
) else (
59-
set libs_list=!libs_list! !lib!
59+
set libs_list=!libs_list!,!lib!
6060
)
6161
)
6262
)

0 commit comments

Comments
 (0)