forked from mirrors/nixpkgs
xtensor: fix path in pkg-config file
This commit is contained in:
parent
6a0a4f9456
commit
a2a8c38e1d
|
@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
|
|||
checkInputs = [ gtest ];
|
||||
checkTarget = "xtest";
|
||||
|
||||
# https://github.com/xtensor-stack/xtensor/issues/2542
|
||||
postPatch = ''
|
||||
substituteInPlace xtensor.pc.in \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multi-dimensional arrays with broadcasting and lazy computing.";
|
||||
homepage = "https://github.com/xtensor-stack/xtensor";
|
||||
|
|
Loading…
Reference in a new issue