aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-05-13 15:04:40 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-05-13 15:04:40 +0000
commitd1f9422b2b8c494e50ab17f377bd782c3de76540 (patch)
treeeda57e36679304bd6e1d7f9eb644704106af2fc1 /epan
parent166b14c1df7688811874fa62d9d5d931e4601477 (diff)
Don't try to export the plugin symbols if we're not building with plugins.
svn path=/trunk/; revision=37124
Diffstat (limited to 'epan')
-rw-r--r--epan/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/Makefile.am b/epan/Makefile.am
index 00ef4a572d..8f2a8bde88 100644
--- a/epan/Makefile.am
+++ b/epan/Makefile.am
@@ -186,6 +186,16 @@ tvbtest.o exntest.o: exceptions.h
sminmpec.c: enterprise-numbers ../tools/make-sminmpec.pl
$(PERL) $(srcdir)/../tools/make-sminmpec.pl $(srcdir)/enterprise-numbers sminmpec.c
+def_sym_filter_symbols =
+
+if !HAVE_PLUGINS
+# If we're not building plugins, these symbols don't get built.
+# Keep them out of the symbol list.
+def_sym_filter_symbols += /^register_all_wiretap_modules/ || /^register_all_plugin_tap_listeners/ || /^plugin_list/
+endif
+
+def_sym_filter_symbols += {next;};
+
if HAVE_PLUGINS
if ENABLE_STATIC