Преглед изворни кода

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`.
dickmao пре 6 година
родитељ
комит
a7180caf19
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      protobuf.pc.in

+ 1 - 1
protobuf.pc.in

@@ -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