ack On Sun, Mar 24, 2013 at 12:16 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > NPAPI plugins only need to have 3 symbols exported, make that > explicit. This is also required when building Windows plugins > as these symbols *must* be explicitly exported. > --- > SpiceXPI/src/plugin/Makefile.am | 9 ++++++++- > SpiceXPI/src/plugin/npapi-plugin.syms | 3 +++ > 2 files changed, 11 insertions(+), 1 deletion(-) > create mode 100644 SpiceXPI/src/plugin/npapi-plugin.syms > > diff --git a/SpiceXPI/src/plugin/Makefile.am b/SpiceXPI/src/plugin/Makefile.am > index 3b7bd8d..bb50d21 100644 > --- a/SpiceXPI/src/plugin/Makefile.am > +++ b/SpiceXPI/src/plugin/Makefile.am > @@ -8,7 +8,14 @@ plugindir=$(extensiondir)/plugins > > plugin_LTLIBRARIES = npSpiceConsole.la > > -npSpiceConsole_la_LDFLAGS = -avoid-version -module -no-undefined > +EXTRA_DIST = ${srcdir}/npapi-plugin.syms > + > +npSpiceConsole_la_LDFLAGS = \ > + -avoid-version \ > + -module \ > + -no-undefined \ > + -export-symbols ${srcdir}/npapi-plugin.syms \ > + $(NULL) > npSpiceConsole_la_CPPFLAGS = \ > -I$(top_srcdir)/common \ > -I$(srcdir)/npapi \ > diff --git a/SpiceXPI/src/plugin/npapi-plugin.syms b/SpiceXPI/src/plugin/npapi-plugin.syms > new file mode 100644 > index 0000000..d7c247b > --- /dev/null > +++ b/SpiceXPI/src/plugin/npapi-plugin.syms > @@ -0,0 +1,3 @@ > +NP_GetEntryPoints > +NP_Initialize > +NP_Shutdown > -- > 1.8.1.4 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel