eigen: fix configuration file for pkg-config

This commit is contained in:
Julien Dehos 2017-08-23 16:41:16 +02:00
parent ce71d0bd0b
commit bd879d2bef

View File

@ -13,7 +13,11 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ cmake ];
postInstall = ''
sed -e '/Cflags:/s@''${prefix}/@@' -i "$out"/share/pkgconfig/eigen3.pc
'';
meta = with stdenv.lib; {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;