From d2967cda0e6aaff02b7c8127da662d198d9e9256 Mon Sep 17 00:00:00 2001 From: "liujisi@google.com" Date: Tue, 3 Jul 2012 09:52:54 +0000 Subject: [PATCH] -lz in protobuf.pc belongs in Libs.private, not Libs --- protobuf.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protobuf.pc.in b/protobuf.pc.in index 8a53a4311256..29f248773c54 100644 --- a/protobuf.pc.in +++ b/protobuf.pc.in @@ -6,7 +6,8 @@ includedir=@includedir@ Name: Protocol Buffers Description: Google's Data Interchange Format Version: @VERSION@ -Libs: -L${libdir} -lprotobuf @LIBS@ @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ +Libs: -L${libdir} -lprotobuf @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ +Libs.private: @LIBS@ Cflags: -I${includedir} @PTHREAD_CFLAGS@ # Commented out because it crashes pkg-config *sigh*: # http://bugs.freedesktop.org/show_bug.cgi?id=13265