`Libs` should not include `@PTHREAD_CFLAGS@`
That should be only on the CFlags. When using the compiler
as the linker driver, one may want to also call pkg-config to get the
cflags, but when invoking the linker, there should be no compiler flags.
diff --git a/protobuf-lite.pc.in b/protobuf-lite.pc.in
index 80f1f46..68a2bb4 100644
--- a/protobuf-lite.pc.in
+++ b/protobuf-lite.pc.in
@@ -6,6 +6,6 @@
Name: Protocol Buffers
Description: Google's Data Interchange Format
Version: @VERSION@
-Libs: -L${libdir} -lprotobuf-lite @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
+Libs: -L${libdir} -lprotobuf-lite @PTHREAD_LIBS@
Cflags: -I${includedir} @PTHREAD_CFLAGS@
Conflicts: protobuf
diff --git a/protobuf.pc.in b/protobuf.pc.in
index 7b84448..282fef3 100644
--- a/protobuf.pc.in
+++ b/protobuf.pc.in
@@ -6,7 +6,7 @@
Name: Protocol Buffers
Description: Google's Data Interchange Format
Version: @VERSION@
-Libs: -L${libdir} -lprotobuf @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
+Libs: -L${libdir} -lprotobuf @PTHREAD_LIBS@
Libs.private: @LIBS@
Cflags: -I${includedir} @PTHREAD_CFLAGS@ @CXXFLAGS@
Conflicts: protobuf-lite