diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-12-16 11:54:06 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-12-16 11:54:06 +0100 |
commit | 82cc5c76a4fa97268a455ea6e7df18567f4af68c (patch) | |
tree | 1419a0c11e9fc57e3b0684bb596d9e0aa7a539f0 /plugin.c | |
parent | 67a4ba4228d878fe7f5484ab8d80178ca51ce6e6 (diff) | |
download | vdr-82cc5c76a4fa97268a455ea6e7df18567f4af68c.tar.gz vdr-82cc5c76a4fa97268a455ea6e7df18567f4af68c.tar.bz2 |
Improved handling missing VDRPluginDestroyer()
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: plugin.c 4.3 2020/12/13 10:56:36 kls Exp $ + * $Id: plugin.c 4.4 2020/12/16 11:54:06 kls Exp $ */ #include "plugin.h" @@ -234,6 +234,10 @@ bool cDll::Load(bool Log) plugin = create(); destroy = (destroy_t *)dlsym(handle, "VDRPluginDestroyer"); error = dlerror(); + if (error) { + error = NULL; + isyslog("plugin %s: missing symbol VDRPluginDestroyer(), please rebuild", fileName); + } } } if (!error) { |