9cbe06056e
see http://hackage.haskell.org/trac/ghc/ticket/4080 http://www.haible.de/bruno/packages-libcharset.html OK jasper@, avsm@
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
$OpenBSD: patch-myocamlbuild_ml,v 1.1 2013/01/10 18:55:30 chrisz Exp $
|
|
|
|
autogenerated by oasis
|
|
|
|
--- myocamlbuild.ml.orig Mon Oct 8 11:21:18 2012
|
|
+++ myocamlbuild.ml Fri Jan 4 00:00:12 2013
|
|
@@ -488,7 +488,25 @@ let package_default =
|
|
{
|
|
MyOCamlbuildBase.lib_ocaml = [("lambda-term", ["src"])];
|
|
lib_c = [("lambda-term", "src", [])];
|
|
- flags = [];
|
|
+ flags =
|
|
+ [
|
|
+ (["oasis_library_lambda_term_ccopt"; "compile"],
|
|
+ [(OASISExpr.EBool true, S [A "-ccopt"; A "-I${LOCALBASE}/include"])
|
|
+ ]);
|
|
+ (["oasis_library_lambda_term_cclib"; "link"],
|
|
+ [
|
|
+ (OASISExpr.EBool true,
|
|
+ S
|
|
+ [
|
|
+ A "-cclib";
|
|
+ A "-L${LOCALBASE}/lib";
|
|
+ A "-cclib";
|
|
+ A "-lcharset"
|
|
+ ])
|
|
+ ]);
|
|
+ (["oasis_library_lambda_term_cclib"; "ocamlmklib"; "c"],
|
|
+ [(OASISExpr.EBool true, S [A "-L${LOCALBASE}/lib"; A "-lcharset"])])
|
|
+ ];
|
|
includes =
|
|
[("tools", ["src"]); ("tests", ["src"]); ("examples", ["src"])];
|
|
}
|