Accepting request 841058 from home:badshah400:branches:devel:tools
(Fixes for libdir path flagged in sr#838414) - Specify gRPC_INSTALL_LIBDIR and gRPC_INSTALL_CMAKEDIR to correctly configure install paths for libraries and cmake files instead of moving them after the installation. - Add grpc-correct-pkgconfig-path.patch to fix install path for pkgconfig file relative to gRPC_INSTALL_LIBDIR. - Add Requires: pkgconfig(libcares) for the -devel pkg. OBS-URL: https://build.opensuse.org/request/show/841058 OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=68
This commit is contained in:
13
grpc-correct-pkgconfig-path.patch
Normal file
13
grpc-correct-pkgconfig-path.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: grpc-1.32.0/CMakeLists.txt
|
||||
===================================================================
|
||||
--- grpc-1.32.0.orig/CMakeLists.txt
|
||||
+++ grpc-1.32.0/CMakeLists.txt
|
||||
@@ -15667,7 +15667,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
|
Reference in New Issue
Block a user