vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun May 19 
11:32:45 2019 +0300| [2e052612fe83ad356d1181ef0a06261c2d01d9b4] | committer: 
Rémi Denis-Courmont

contrib: protobuf: don't print empty variables

If protoc is not found, then there is not much point printing itss full
path and version numbers.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e052612fe83ad356d1181ef0a06261c2d01d9b4
---

 contrib/src/protobuf/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/protobuf/rules.mak b/contrib/src/protobuf/rules.mak
index 19abe5d53a..092c7f6b8e 100644
--- a/contrib/src/protobuf/rules.mak
+++ b/contrib/src/protobuf/rules.mak
@@ -10,7 +10,7 @@ ifeq ($(findstring protobuf,$(PKGS_DISABLE)),)
 # check we have a matching protoc to use
 PROTOC = $(shell PATH="$(PATH)" which protoc)
 ifeq ($(PROTOC),)
-PROTOC = $(error protoc not found in PATH $(PATH) - $(SYS_PROTOC) - $(PROTOC))
+PROTOC = $(error protoc not found (search path: $(PATH)))
 else
 # make sure the installed protoc is compatible with the version we want to 
build
 SYS_PROTOC_VER = $(shell $(PROTOC) --version)

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to