From: Stephane Glondu <steph@glondu.net>
Date: Mon, 27 Jul 2020 15:41:34 +0200
Subject: The bitstring library now needs str

---
 tool.ml       | 2 +-
 version.ml.in | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tool.ml b/tool.ml
index 97719ad..9923e1d 100644
--- a/tool.ml
+++ b/tool.ml
@@ -38,7 +38,7 @@ let used_libs =
   (* put libraries in correct order here *)
   let acc = ["unix"] in
   let acc = if not_cairo then acc else "cairo"::acc in
-  let acc = if not_bitstring then acc else "bitstring"::acc in
+  let acc = if not_bitstring then acc else "bitstring"::"str"::acc in
   let acc = "mlpost"::acc in
   (* mlpost_options is activated by default *)
   let acc = "mlpost_options"::acc in
diff --git a/version.ml.in b/version.ml.in
index 076dc42..27f7993 100644
--- a/version.ml.in
+++ b/version.ml.in
@@ -44,4 +44,5 @@ let libraries libdir =
     "mlpost", ([libdir], ["mlpost"]);
     "mlpost_options", ([libdir], [ "mlpost_desc_options";"mlpost_options"]);
     "unix" , ([],["unix"]);
+    "str" , ([],["str"]);
   ]
