libndtypes: refactor change linker support darwin
This commit is contained in:
parent
5a944e4223
commit
96668812f3
|
@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0dpvv13mrid8l5zkjlz18qvirz3nr0v98agx9bcvkqbiahlfgjli";
|
sha256 = "0dpvv13mrid8l5zkjlz18qvirz3nr0v98agx9bcvkqbiahlfgjli";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "CONFIGURE_LDFLAGS='-shared'" ];
|
# Override linker with cc (symlink to either gcc or clang)
|
||||||
|
# Library expects to use cc for linking
|
||||||
|
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Dynamic types for data description and in-memory computations";
|
description = "Dynamic types for data description and in-memory computations";
|
||||||
|
@ -22,4 +24,4 @@ stdenv.mkDerivation rec {
|
||||||
license = lib.licenses.bsdOriginal;
|
license = lib.licenses.bsdOriginal;
|
||||||
maintainers = with lib.maintainers; [ costrouc ];
|
maintainers = with lib.maintainers; [ costrouc ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue