- grpc++.pc: force-add -lgrpc [boo#1210695]
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=137
This commit is contained in:
parent
046581cc4f
commit
c9dc685bd2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 18:31:55 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- grpc++.pc: force-add -lgrpc [boo#1210695]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 14 11:07:33 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -166,6 +166,10 @@ rm -fr third_party/abseil-cpp/*
|
||||
mkdir -p "%buildroot/%src_install_dir"
|
||||
cp -r * "%buildroot/%src_install_dir"
|
||||
|
||||
# bugzilla.suse.com/1210695
|
||||
# grpc++ headers' inline functions can use functions from the C library, so must be present in .pc
|
||||
perl -i -lpe 's{-lgrpc\+\+}{-lgrpc++ -lgrpc}' "%buildroot/%_libdir/pkgconfig/grpc++.pc"
|
||||
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
# Checks cannot be run because of `make clean` above
|
||||
|
Loading…
Reference in New Issue
Block a user