Accepting request 678399 from home:alois:branches:devel:tools
- Use arch-specific libdir in pkgconfig file OBS-URL: https://build.opensuse.org/request/show/678399 OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=24
This commit is contained in:
parent
b649a017a5
commit
41461f9f08
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 23 10:47:16 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Use arch-specific libdir in pkgconfig file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 18 09:52:40 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@ -59,6 +59,9 @@ sed -e 's|lib_install_dir "lib/"|lib_install_dir "%{_libdir}/"|g' \
|
||||
-e 's|config_install_dir "lib/cmake|config_install_dir "%{_libdir}/cmake|g' \
|
||||
-e 's|pkgconfig_install_dir "lib/pkgconfig"|pkgconfig_install_dir "%{_libdir}/pkgconfig"|g' \
|
||||
-i src/CMakeLists.txt
|
||||
sed -e 's|libdir=${prefix}/lib|libdir=${prefix}/%{_lib}|' \
|
||||
-i cmake/benchmark.pc.in
|
||||
|
||||
%cmake \
|
||||
-DBENCHMARK_ENABLE_LTO=on \
|
||||
-DBENCHMARK_ENABLE_TESTING=true
|
||||
|
Loading…
Reference in New Issue
Block a user