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:
Artturin 2022-08-25 00:17:57 +03:00
parent a13d387089
commit 50a629cc3a

View file

@ -10,9 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2"; sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
}; };
nativeBuildInputs = [ libtool ]; makeFlags = [ "LIBTOOL=${libtool}/bin/libtool" "PREFIX=$(out)" ];
makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
meta = with lib; { meta = with lib; {
description = "Simple implementation of msgpack in C"; description = "Simple implementation of msgpack in C";