mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
libxnd: refactor change linker support darwin
This commit is contained in:
parent
a60e79425b
commit
5a944e4223
1 changed files with 3 additions and 4 deletions
|
@ -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