aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-02-06 16:35:51 +0000
committerWireshark GitLab Utility <6629907-ws-gitlab-utility@users.noreply.gitlab.com>2021-02-06 16:35:51 +0000
commit89fee9321e45f7100d4728ee21af4f6e9f87cdfb (patch)
treea19859794a83170296c7f4c6d8b11b5b4ae94eb4 /version_info.c
parent91064e337c029b98941762c9816b574a5e43c378 (diff)
Avoid exposing HAVE_PLUGINS in the public API
Instead *_register_plugin() is turned into a noop (with a warning). The test suit is failing with ENABLE_PLUGINS=Off (it was already failing before and this patch didn't affect that). Closes #17202.
Diffstat (limited to 'version_info.c')
-rw-r--r--version_info.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/version_info.c b/version_info.c
index b20720d0ad..8961dbc6e9 100644
--- a/version_info.c
+++ b/version_info.c
@@ -450,8 +450,10 @@ get_runtime_version_info(void (*additional_info)(GString *))
g_string_append_printf(str, ", binary plugins supported (%d loaded)", plugins_get_count());
}
else {
- g_string_append(str, ", binary plugins not supported");
+ g_string_append(str, ", binary plugins not supported by the platform");
}
+#else
+ g_string_append(str, ", built without support for binary plugins");
#endif
g_string_append(str, ".");