Jan Engelhardt
b249206e2f
(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
14 lines
432 B
Diff
14 lines
432 B
Diff
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
|