commit | 7073ef52fbc037fd103f7be1a3bb68ed369ff981 | [log] [tgz] |
---|---|---|
author | Mislav Novakovic <mislav.novakovic@sartura.hr> | Thu May 24 17:23:02 2018 +0200 |
committer | Mislav Novakovic <mislav.novakovic@sartura.hr> | Mon Jun 04 16:06:38 2018 +0200 |
tree | 8fa7bcc7850e274c71b077448a139630a94b0b0d | |
parent | b453512f426519fdd31cd219cbb13d3f167e644a [diff] [blame] |
C++: fix static compile in C++ Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
diff --git a/src/plugins.c b/src/plugins.c index 02719bd..241a209 100644 --- a/src/plugins.c +++ b/src/plugins.c
@@ -185,6 +185,10 @@ uint32_t u, v; char *str; +#ifdef STATIC + return 0; +#endif /* STATIC */ + /* get the plugin data */ plugin = dlsym(dlhandler, file_name); str = dlerror();