File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,11 @@ for /f "tokens=*" %%a in ('pkg-config --libs protobuf') do (
6969 @ rem Because protobuf is specified as libprotobuf and elsewhere
7070 if !lib! NEQ protobuf (
7171 set lib = !lib! .lib,
72- set libs_list = !libs_list! !lib!
72+ if " %libs_list% " == " " (
73+ set libs_list = !lib!
74+ ) else (
75+ set libs_list = !libs_list! !lib!
76+ )
7377 )
7478 )
7579 )
Original file line number Diff line number Diff line change @@ -53,7 +53,11 @@ for /f "tokens=*" %%a in ('pkg-config --libs protobuf') do (
5353 @ rem Because protobuf is specified as libprotobuf and elsewhere
5454 if !lib! NEQ protobuf (
5555 set lib = !lib! .lib,
56- set libs_list = !libs_list! !lib!
56+ if " %libs_list% " == " " (
57+ set libs_list = !lib!
58+ ) else (
59+ set libs_list = !libs_list! !lib!
60+ )
5761 )
5862 )
5963 )
You can’t perform that action at this time.
0 commit comments