FS#66176 - [grpc] pkgconfig files contain /usr/local as prefix
Attached to Project:
Community Packages
Opened by Bastian Beranek (totsilence) - Wednesday, 08 April 2020, 19:19 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Thursday, 16 April 2020, 09:41 GMT
Opened by Bastian Beranek (totsilence) - Wednesday, 08 April 2020, 19:19 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Thursday, 16 April 2020, 09:41 GMT
|
Details
The pkgconfig files shipped with the grpc package are wrong,
since the prefix is '/usr/local' in all of them:
$ cat /usr/lib/pkgconfig/grpc.pc prefix=/usr/local exec_prefix=${prefix} includedir=${prefix}/include libdir=${exec_prefix}/lib Name: gRPC Description: high performance general RPC framework Version: 9.0.0 Cflags: -I${includedir} Requires: gpr zlib libcares openssl Libs: -L${libdir} -lgrpc Libs.private: and thus: $ pkg-config --libs grpc -L/usr/local/lib -lgrpc -lgpr -lz -lcares -lssl -lcrypto Maybe CMAKE_INSTALL_PREFIX=/usr should be added here? https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/grpc |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Thursday, 16 April 2020, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: grpc-1.28.1
Thursday, 16 April 2020, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: grpc-1.28.1