I'm not the expert here, but how about using ocamlfind to call the
compiler with the right option? Isn't the following patch enough?

Index: src/Makefile.in
===================================================================
--- src/Makefile.in     (revision 7102)
+++ src/Makefile.in     (working copy)
@@ -9,8 +9,8 @@

 OCAMLFIND = @OCAMLFIND@
 OCAMLFIND_LDCONF = @OCAMLFIND_LDCONF@
-OCAMLC = @OCAMLC@
-OCAMLOPT = @OCAMLOPT@
+OCAMLC = @OCAMLFIND@ ocamlc
+OCAMLOPT = @OCAMLFIND@ ocamlopt
 BEST = @BEST@
 OCAMLMKTOP = @OCAMLMKTOP@
 OCAMLCP = @OCAMLCP@

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to