gbenchmark: fix paths in pkg-config file
This commit is contained in:
parent
1c09946985
commit
499b90f319
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
|||
postPatch = ''
|
||||
cp -r ${gtest.src} googletest
|
||||
chmod -R u+w googletest
|
||||
|
||||
# https://github.com/google/benchmark/issues/1396
|
||||
substituteInPlace cmake/benchmark.pc.in \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Reference in a new issue