trying to make static linking work on darwin

svn path=/nixpkgs/trunk/; revision=18313
This commit is contained in:
Rob Vermaas 2009-11-09 15:00:24 +00:00
parent 85ee8e90b7
commit 83c57ed434

View File

@ -9,6 +9,7 @@ rec {
atermStatic = stdenvStatic.mkDerivation ( rec {
name = "${aterm.name}-static";
inherit (aterm) src meta patches;
configureFlags = "--enable-static=yes";
} // ( if stdenv.system == "i686-cygwin" then { inherit (sdf) CFLAGS; } else {} ) ) ;
@ -16,6 +17,7 @@ rec {
name = "${sdf.name}-static";
inherit (sdf) src preConfigure meta;
buildInputs = [pkgconfig atermStatic];
configureFlags = "--enable-static=yes";
} // ( if stdenv.system == "i686-cygwin" then { inherit (sdf) CFLAGS; } else {} ) ) ;
sdf = stdenv.mkDerivation ( rec {