Skip to content

Commit 4da8148

Browse files
committed
fix(example2): windows protoc path is not correct
change makefile protoc path in windows Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
1 parent eadbd7b commit 4da8148

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

example2/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
export PROTOC=${HOME}/protoc/bin/protoc
1+
ifeq ($(OS),Windows_NT)
2+
@echo "Skipping protoc path set on Windows"
3+
else
4+
export PROTOC=${HOME}/protoc/bin/protoc
5+
endif
26

37
#
48
# Build

0 commit comments

Comments
 (0)