aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-plugin-reg.py
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-12-15 00:49:31 +0000
committerJoão Valverde <j@v6e.pt>2017-12-17 11:47:17 +0000
commitf3444ed0f9c1d6e48b4b383afdd2b9fca9a8966c (patch)
tree8d89d4c03d412d5f9d5b245f96ca68236b668e59 /tools/make-plugin-reg.py
parentee8ca2e1d793e039bdd7304ad3c2c0cb42a69624 (diff)
plugins: Remove moduleinfo.h
Micro version bump for mate to homogenize it between CMake and autotools. The cmake macro doesn't handle the "a" suffix and it doesn't seem worth implementing. Change-Id: Ib022c6aa170623b83a9700e4fa098c60a9cddfab Reviewed-on: https://code.wireshark.org/review/24847 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'tools/make-plugin-reg.py')
-rwxr-xr-xtools/make-plugin-reg.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/make-plugin-reg.py b/tools/make-plugin-reg.py
index d910fe6580..420299ec56 100755
--- a/tools/make-plugin-reg.py
+++ b/tools/make-plugin-reg.py
@@ -101,8 +101,6 @@ reg_code += """
#include <gmodule.h>
-#include "moduleinfo.h"
-
/* plugins are DLLs */
#define WS_BUILD_DLL
#include "ws_symbol_export.h"
@@ -122,7 +120,7 @@ for symbol in regs['wtap_register']:
reg_code += "void wtap_register_%s(void);\n" % (symbol)
reg_code += """
-WS_DLL_PUBLIC_DEF const gchar plugin_version[] = VERSION;
+WS_DLL_PUBLIC_DEF const gchar plugin_version[] = PLUGIN_VERSION;
WS_DLL_PUBLIC_DEF const gchar plugin_release[] = VERSION_RELEASE;
WS_DLL_PUBLIC_DEF void plugin_register(void)