opencv-3.x: link to ippicv before configuring

Without this ippicv gets downloaded each time opencv is build.
This commit is contained in:
Bas van Dijk 2016-10-22 18:49:20 +02:00
parent a3989b87df
commit 212a53d9ff

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
sha256 = "1l0w12czavgs0wzw1c594g358ilvfg2fn32cn8z7pv84zxj4g429";
};
postPatch =
preConfigure =
let ippicvVersion = "20151201";
ippicvPlatform = if stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux" then "linux"
else throw "ICV is not available for this platform (or not yet supported by this package)";