Don't try to export the plugin symbols if we're not building with plugins.
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 13 May 2011 15:04:40 +0000 (15:04 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 13 May 2011 15:04:40 +0000 (15:04 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37124 f5534014-38df-0310-8fa8-9805f1628bb7

epan/Makefile.am

index 00ef4a572d164ce8886cf8ce6de0f7ddb7529507..8f2a8bde885ac3cea02577d9836cdea243060891 100644 (file)
@@ -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