Switch all the links to https
[ocaml-libvirt.git] / libvirt / Makefile.in
index cf614fc..b76d715 100644 (file)
@@ -28,14 +28,15 @@ OCAMLC              = @OCAMLC@
 OCAMLOPT       = @OCAMLOPT@
 OCAMLFIND      = @OCAMLFIND@
 OCAMLMKLIB     = @OCAMLMKLIB@
+PERL           = @PERL@
 
 ifneq ($(OCAMLFIND),)
 OCAMLCPACKAGES := -package unix
-OCAMLCFLAGS    := -g -warn-error CDEFLMPSUVYZX-3
+OCAMLCFLAGS    := -g -warn-error CDEFLMPSUVYZX-3 -safe-string
 OCAMLCLIBS     := -linkpkg
 else
 OCAMLCINCS     :=
-OCAMLCFLAGS    := -g -warn-error CDEFLMPSUVYZX-3
+OCAMLCFLAGS    := -g -warn-error CDEFLMPSUVYZX-3 -safe-string
 OCAMLCLIBS     := unix.cma
 endif
 
@@ -100,7 +101,7 @@ endif
 
 # Automatically generate the C code from a Perl script 'generator.pl'.
 libvirt_c.c: generator.pl
-       perl -w $<
+       $(PERL) -w $<
 
 # Extra dependencies.
 libvirt_c.c: libvirt_c_prologue.c