Commit e684b424 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Move plugin ABI version (MODULE_SYMBOL) out of build system.

parent 6a77f290
......@@ -6082,13 +6082,6 @@ AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "`hostname`", [host which ran configure])
AC_DEFINE_UNQUOTED(VLC_COMPILE_DOMAIN, "`dnsdomainname 2>/dev/null || domainname 2>/dev/null || echo unknown`", [domain of the host which ran configure])
AC_DEFINE_UNQUOTED(VLC_COMPILER, "`$CC -v 2>&1 | tail -n 1`", [compiler])
dnl New definitions with value matching 0.9.0 release
module_symbol="0_9_0d"
AC_DEFINE_UNQUOTED(MODULE_SUFFIX, "__${module_symbol}", [String suffix for module functions])
AC_DEFINE_UNQUOTED(MODULE_SYMBOL, $module_symbol, [Symbol suffix for module functions])
VLC_ENTRY="vlc_entry__${module_symbol}"
AC_SUBST(VLC_ENTRY)
dnl
dnl Handle substvars that use $(top_srcdir)
dnl
......
......@@ -32,6 +32,11 @@
# define MODULE_NAME main
#endif
/**
* Current plugin ABI version
*/
# define MODULE_SUFFIX __0_9_0e
/*****************************************************************************
* Add a few defines. You do not want to read this section. Really.
*****************************************************************************/
......
......@@ -53,7 +53,7 @@ AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\
if HAVE_COMPILER_EXPORT
AM_LDFLAGS += -export-dynamic
else
AM_LDFLAGS += -export-symbol-regex ^\$(VLC_ENTRY)\$\$
AM_LDFLAGS += -export-symbol-regex ^vlc_entry
endif
AM_LIBADD = \$(LTLIBVLC)
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment