From a7180caf19ae150d9a3f9724600b0eed4b5da830 Mon Sep 17 00:00:00 2001 From: dickmao Date: Wed, 20 Feb 2019 09:54:23 -0500 Subject: [PATCH] protobuf.pc.in does not reflect CXXFLAGS Currently, downstream libraries such as RProtoBuf fail because `-std=c++11` is required via `configure.ac`, but RProtobuf has no way of knowing this by consulting `pkg-config --cflags protobuf`. --- protobuf.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf.pc.in b/protobuf.pc.in index 490149034d669..7b844480aabbe 100644 --- a/protobuf.pc.in +++ b/protobuf.pc.in @@ -8,5 +8,5 @@ Description: Google's Data Interchange Format Version: @VERSION@ Libs: -L${libdir} -lprotobuf @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ Libs.private: @LIBS@ -Cflags: -I${includedir} @PTHREAD_CFLAGS@ +Cflags: -I${includedir} @PTHREAD_CFLAGS@ @CXXFLAGS@ Conflicts: protobuf-lite