grpc/grpc-correct-pkgconfig-path.patch
Jan Engelhardt 23d2098247 Accepting request 853409 from home:badshah400:branches:devel:tools
* Update to version 1.34.0.
* Pass ZLIB_LIBRARY location to cmake as it fails to find zlib using find_package() after the zlib libraries were moved to %{_libdir} in openSUSE:Factory (sr#851291).
* Update so version in keeping with upstream.
* Leave a comment on why tests cannot be run (because of `make clean` required to pkg sources).

OBS-URL: https://build.opensuse.org/request/show/853409
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=78
2020-12-06 19:23:27 +00:00

14 lines
432 B
Diff

Index: grpc-1.34.0/CMakeLists.txt
===================================================================
--- grpc-1.34.0.orig/CMakeLists.txt
+++ grpc-1.34.0/CMakeLists.txt
@@ -16203,7 +16203,7 @@ function(generate_pkgconfig name descrip
"${output_filepath}"
@ONLY)
install(FILES "${output_filepath}"
- DESTINATION "lib/pkgconfig/")
+ DESTINATION "${gRPC_INSTALL_LIBDIR}/pkgconfig/")
endfunction()
# gpr .pc file