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 ];
|
buildInputs = [ libndtypes ];
|
||||||
|
|
||||||
configureFlags = [ "XND_INCLUDE='-I${libndtypes}/include'"
|
# Override linker with cc (symlink to either gcc or clang)
|
||||||
"XND_LINK='-L${libndtypes}/lib'" ];
|
# Library expects to use cc for linking
|
||||||
|
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
|
||||||
makeFlags = [ "CONFIGURE_LDFLAGS='-shared'" ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "General container that maps a wide range of Python values directly to memory";
|
description = "General container that maps a wide range of Python values directly to memory";
|
||||||
|
|
Loading…
Reference in a new issue