Fix xchm compilation

svn path=/nixpkgs/trunk/; revision=15522
This commit is contained in:
Michael Raskin 2009-05-10 06:24:44 +00:00
parent d02609f7dc
commit 38d6fbd9e4

View File

@ -8,6 +8,11 @@ stdenv.mkDerivation {
};
buildInputs = [wxGTK chmlib];
postConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS $(${wxGTK}/lib/wx/config/* --libs | sed -e s@-pthread@@)"
echo $NIX_LDFLAGS
'';
meta = {
description = "A viewer for Microsoft HTML Help files";
homepage = http://xchm.sourceforge.net;