From 9c8aec1adb02dc508e127b0e6dea0970b622e8d8 Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Thu, 27 Apr 2017 13:35:13 +0100 Subject: [PATCH] Mark dynamic plugins as deprecated. --- CHANGES | 4 ++++ Makefile.rules | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index 204595b35e..ad6ea380af 100644 --- a/CHANGES +++ b/CHANGES @@ -67,6 +67,10 @@ Changed: - Set conservative=true by default in cross() and smartcross() +Deprecated (can be removed in any future version): + +- Dynamic plugins compilation, deprecated in favor of opam rebuild mechanism. + Removed: - aac and aacplus encoders, removed in favor of fdk-aac. diff --git a/Makefile.rules b/Makefile.rules index 4479b1693e..bc5b7fe646 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -166,6 +166,7 @@ $(foreach plug,$($(PROG)_PLUGINS),$(eval _OCAML_ALL_CFLAGS+=$($(plug)_packages:% $(foreach plug,$($(PROG)_PLUGINS),$(eval _OCAML_ALL_LFLAGS+=$($(plug)_ocamllflags))) plugins/%.$(s): + $(warning Dynamic plugin compilation is deprecated and can be removed in any future version!) $(V)echo $(OCAMLCOMP) ${shared_flag} $@ $(V)$(OCAMLC) ${shared_flag} -linkpkg $($*_ocamlcflags) $($*_ocamllflags) \ $($*_clink) $($*_sources:.ml=.$(o)) -dontlink "$($*_dontlink)" -o $@