Explorar o código

-lz in protobuf.pc belongs in Libs.private, not Libs

liujisi@google.com %!s(int64=13) %!d(string=hai) anos
pai
achega
d2967cda0e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      protobuf.pc.in

+ 2 - 1
protobuf.pc.in

@@ -6,7 +6,8 @@ includedir=@includedir@
 Name: Protocol Buffers
 Name: Protocol Buffers
 Description: Google's Data Interchange Format
 Description: Google's Data Interchange Format
 Version: @VERSION@
 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@
 Cflags: -I${includedir} @PTHREAD_CFLAGS@
 # Commented out because it crashes pkg-config *sigh*:
 # Commented out because it crashes pkg-config *sigh*:
 #   http://bugs.freedesktop.org/show_bug.cgi?id=13265
 #   http://bugs.freedesktop.org/show_bug.cgi?id=13265