Commit a7180caf authored by dickmao's avatar dickmao Committed by Adam Cozzette

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`.
parent e4794105
...@@ -8,5 +8,5 @@ Description: Google's Data Interchange Format ...@@ -8,5 +8,5 @@ Description: Google's Data Interchange Format
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lprotobuf @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ Libs: -L${libdir} -lprotobuf @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
Libs.private: @LIBS@ Libs.private: @LIBS@
Cflags: -I${includedir} @PTHREAD_CFLAGS@ Cflags: -I${includedir} @PTHREAD_CFLAGS@ @CXXFLAGS@
Conflicts: protobuf-lite Conflicts: protobuf-lite
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment