--- myocamlbuild.ml	2011-10-04 20:44:28.000000000 +0200
+++ myocamlbuild.ml	2011-10-04 21:13:42.000000000 +0200
@@ -44,7 +44,7 @@
 
        (* When one link an OCaml library/binary/package, one should use -linkpkg *)
        flag ["ocaml"; "link"] & A"-linkpkg";
-       flag ["c"; "compile"; "gcc"] (S[A"-cc"; A"gcc"; A"-ccopt"; A"-fPIC"]);
+       flag ["c"; "compile"; "gcc"] (S[A"-cc"; A"gcc"; A"-ccopt"; A"-fPIC"; A"-ccopt"; A"-I@PREFIX@/include"; A"-ccopt"; A"-L@PREFIX@/lib"; A"-ccopt"; A"-lbuddy"; A"-ccopt"; A"-fnested-functions"]);
        flag ["cc"; "compile"; "g++"] (S[A"-cc"; A"g++"; A"-ccopt"; A"-fPIC"]);
        (* flag ["ocamlmklib"] (S[A"-lminisat"; A"-oc"; A"minisat_stubs" ]); *)
 
