Latest version of libzip places zipconf.h where mysqlworkbench

cannot find it and so mysqlworkbench does not build.  This links
it to somewhere mysqlworkbench looks.

I think the openoffice build also failed because of this.

svn path=/nixpkgs/trunk/; revision=32679
This commit is contained in:
Karn Kallio 2012-02-28 16:26:55 +00:00
parent 207d5aae28
commit a70a76086c

View File

@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ zlib ];
# At least mysqlWorkbench cannot find zipconf.h; I think also openoffice
# had this same problem. This links it somewhere that mysqlworkbench looks.
postInstall = ''
( cd $out/include ; ln -s ../lib/libzip/include/zipconf.h zipconf.h )
'';
meta = {
homepage = http://www.nih.at/libzip;
description = "A C library for reading, creating and modifying zip archives";