makefile: incorrect libprotobuf-c check
authorRobert Swiecki <robert@swiecki.net>
Sun, 28 May 2017 12:34:28 +0000 (14:34 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sun, 28 May 2017 12:34:28 +0000 (14:34 +0200)
Makefile

index 22f9eb944fcfc2f25594c54b3c4791075ebe32dc..cc2633aebacf9ad788957b9f2bf2fc6ab0762d3d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ endif
 
 USE_PROTOBUF ?= yes
 ifeq ($(USE_PROTOBUF), yes)
-PROTOBUF_EXISTS := $(shell pkg-config --exists protobuf && echo yes)
+PROTOBUF_EXISTS := $(shell pkg-config --exists libprotobuf-c && echo yes)
 ifeq ($(PROTOBUF_EXISTS), yes)
        PROTO_DEPS = config.pb-c.h config.pb-c.c
        SRCS += config.pb-c.c