From 67acf25cd7af99d0cccfa9473061d6b7d95dc829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= Date: Tue, 29 Aug 2023 15:38:36 +0200 Subject: [PATCH] Replacing dynlink by just using dune to link at compile time --- lib/dune | 2 +- lib/stringCodepointSplitter.ml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/dune b/lib/dune index 7ae24b9..152dbb8 100644 --- a/lib/dune +++ b/lib/dune @@ -1,4 +1,4 @@ (library (name stringCodepointSplitter) (public_name stringCodepointSplitter) - (libraries uutf findlib.dynload)) + (libraries uutf)) diff --git a/lib/stringCodepointSplitter.ml b/lib/stringCodepointSplitter.ml index 47ec57a..e5657b5 100644 --- a/lib/stringCodepointSplitter.ml +++ b/lib/stringCodepointSplitter.ml @@ -13,9 +13,6 @@ Under MIT License It only contains [split_string_by_unicode_codepoint], which splits an OCaml string [str] to a [string list] *) -let _ = Findlib.init ();; -Fl_dynload.load_packages ["uutf"];; - (** Split an OCaml string [str] to a [string list]