Accepting request 1135772 from home:jengelh:branches:devel:libraries:c_c++
- Update symbol versioning pattern to actually match symbols OBS-URL: https://build.opensuse.org/request/show/1135772 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=92
This commit is contained in:
committed by
Git OBS Bridge
parent
7319bccc04
commit
07ce18bf45
@@ -79,8 +79,8 @@ export CXX=g++
|
||||
test -x "$(type -p g++-8)" && export CXX=g++-8
|
||||
|
||||
# spdlog embodies fmt ABI; add some symvers so both ld.so and rpm notice the change.
|
||||
v=$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 's/\..*//')
|
||||
echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}v${v}; };" >spdlog.sym
|
||||
v=v$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 's/\..*//')
|
||||
echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}${v}*; };" >spdlog.sym
|
||||
v="$PWD/spdlog.sym"
|
||||
|
||||
%cmake -G Ninja \
|
||||
|
Reference in New Issue
Block a user