libmilter: fix cross-build
This commit is contained in:
parent
42070c9b0d
commit
c3e967dc35
1 changed files with 4 additions and 2 deletions
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p $out/lib
|
||||
cd libmilter
|
||||
cat > a.m4 <<EOF
|
||||
define(\`confCC', \`$CC')
|
||||
define(\`confAR', \`$AR')
|
||||
define(\`confEBINDIR', \`$out/libexec')
|
||||
define(\`confINCLUDEDIR', \`$out/include')
|
||||
define(\`confLIBDIR', \`$out/lib')
|
||||
|
@ -29,9 +31,9 @@ stdenv.mkDerivation rec {
|
|||
sh Build -f ./a.m4
|
||||
'';
|
||||
|
||||
patches = [ ./install.patch ./sharedlib.patch];
|
||||
patches = [ ./install.patch ./sharedlib.patch ];
|
||||
|
||||
buildInputs = [ m4 ];
|
||||
nativeBuildInputs = [ m4 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Sendmail Milter mail filtering API library";
|
||||
|
|
Loading…
Reference in a new issue