util-linux: Use Linux-specific header on Linux only.

svn path=/nixpkgs/trunk/; revision=32867
This commit is contained in:
Ludovic Courtès
2012-03-07 22:15:42 +00:00
parent f1f834f260
commit 330a4e656a
2 changed files with 18 additions and 0 deletions
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "1q5vjcvw4f067c63vj2n3xggvk5prm11571x6vnqiav47vdbqvni";
};
patches = [ ./linux-specific-header.patch ];
crossAttrs = {
# Work around use of `AC_RUN_IFELSE'.
preConfigure = "export scanf_cv_type_modifier=ms";