libmpack: fix darwin build
On darwin we need the correct prefix during the buildPhase, otherwise the dynamic libraries have an incorrect install_name.
This commit is contained in:
parent
b8ddde411c
commit
d7039d5029
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
|
||||
rev = version;
|
||||
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";
|
||||
};
|
||||
LIBTOOL = "libtool";
|
||||
buildInputs = [ libtool ];
|
||||
preInstall = ''
|
||||
export PREFIX=$out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ libtool ];
|
||||
|
||||
makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple implementation of msgpack in C";
|
||||
homepage = https://github.com/tarruda/libmpack/;
|
||||
|
Loading…
Reference in New Issue
Block a user