From: Johannes Schauer <josch@debian.org>
Date: Thu, 20 Oct 2016 07:16:17 +0200
X-Dgit-Generated: 0.19-2 79dc9ff7f470747e6aa7285254ef429ed05d22c1
Subject: Run ocamlbuild with -lflags -runtime-variant,_pic to work around Debian bug #837359


---

--- botch-0.19.orig/Makefile
+++ botch-0.19/Makefile
@@ -71,7 +71,7 @@ all: $(OCAMLBUILD_BEST) wiki man
 
 .PHONY: native
 native: atdgen
-	OCAMLPATH=$(BUILD) ocamlbuild -classic-display -use-ocamlfind $(CFLAGS) $(BIN_OPT)
+	OCAMLPATH=$(BUILD) ocamlbuild -lflags -runtime-variant,_pic -classic-display -use-ocamlfind $(CFLAGS) $(BIN_OPT)
 
 .PHONY: byte
 byte: atdgen
