liblapack: propagate the 'shared' flag to atlas
This commit is contained in:
parent
9185515611
commit
3df0409cb6
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, gfortran, atlas, cmake, python, shared ? false }:
|
{ stdenv, fetchurl, gfortran, atlas, cmake, python, shared ? false }:
|
||||||
let
|
let
|
||||||
atlasMaybeShared = if shared then atlas.override {shared=true;} else atlas;
|
atlasMaybeShared = atlas.override { inherit shared; };
|
||||||
usedLibExtension = if shared then ".so" else ".a";
|
usedLibExtension = if shared then ".so" else ".a";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
Loading…
Reference in New Issue
Block a user