mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #46578 from costrouc/costrouc/xnd-linker
libxnd, libndtypes: refactor add support for darwin
This commit is contained in:
commit
59be6689fa
2 changed files with 7 additions and 6 deletions
|
@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
|
|||
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 = {
|
||||
description = "Dynamic types for data description and in-memory computations";
|
||||
|
@ -22,4 +24,4 @@ stdenv.mkDerivation rec {
|
|||
license = lib.licenses.bsdOriginal;
|
||||
maintainers = with lib.maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,10 +17,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libndtypes ];
|
||||
|
||||
configureFlags = [ "XND_INCLUDE='-I${libndtypes}/include'"
|
||||
"XND_LINK='-L${libndtypes}/lib'" ];
|
||||
|
||||
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 = {
|
||||
description = "General container that maps a wide range of Python values directly to memory";
|
||||
|
|
Loading…
Reference in a new issue