Skip to content

Commit

Permalink
protobuf.pc.in does not reflect CXXFLAGS
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
dickmao authored and acozzette committed Feb 22, 2019
1 parent e479410 commit a7180ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protobuf.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a7180ca

Please sign in to comment.