Fix lablgtk reference

svn path=/nixpkgs/trunk/; revision=25343
This commit is contained in:
Michael Raskin 2011-01-02 17:34:19 +00:00
parent ca29aa026f
commit 820a66152b

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation (rec {
buildInputs = [ocaml makeWrapper];
preBuild = ''
sed -i "s|\(OCAMLOPT=.*\)$|\1 -I ${lablgtk}/lib/ocaml/lablgtk2|" Makefile.OCaml
sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" Makefile.OCaml
'';
makeFlags = "UISTYLE=gtk2 INSTALLDIR=$(out)/bin/";
preInstall = "ensureDir $out/bin";