libmpack: fix cross
libmpack-aarch64-unknown-linux-gnu> libtool: link: gcc -shared -fPIC -DPIC build/debug/src/.libs/core.o build/debug/src/.libs/conv.o build/debug/src/.libs/object.o build/debug/src/.libs/rpc.o -Wl,-soname -Wl,libmpack.so.0 -o build/debug/.libs/libmpack.so.0.0.0 libmpack-aarch64-unknown-linux-gnu> /nix/store/6rdvl63vp5p0gyknf0c3svlwfjd5nbjg-libtool-2.4.7/bin/libtool: line 10840: gcc: command not found libmpack-aarch64-unknown-linux-gnu> make: *** [Makefile:151: build/debug/libmpack.la] Error 127
This commit is contained in:
parent
a13d387089
commit
50a629cc3a
1 changed files with 1 additions and 3 deletions
|
@ -10,9 +10,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libtool ];
|
||||
|
||||
makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
|
||||
makeFlags = [ "LIBTOOL=${libtool}/bin/libtool" "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple implementation of msgpack in C";
|
||||
|
|
Loading…
Reference in a new issue