Take into account an installation process quirk

svn path=/nixpkgs/trunk/; revision=33752
This commit is contained in:
Michael Raskin 2012-04-12 06:18:42 +00:00
parent 65d9b6076d
commit 674de696b5

View file

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
};
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
preInstall = ''
mkdir -p "$out/lib"
touch "$out/lib/libunwind-generic.so"
'';
meta = {
homepage = http://www.nongnu.org/libunwind;