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]) ...@@ -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_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]) 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
dnl Handle substvars that use $(top_srcdir) dnl Handle substvars that use $(top_srcdir)
dnl dnl
......
...@@ -32,6 +32,11 @@ ...@@ -32,6 +32,11 @@
# define MODULE_NAME main # define MODULE_NAME main
#endif #endif
/**
* Current plugin ABI version
*/
# define MODULE_SUFFIX __0_9_0e
/***************************************************************************** /*****************************************************************************
* Add a few defines. You do not want to read this section. Really. * Add a few defines. You do not want to read this section. Really.
*****************************************************************************/ *****************************************************************************/
......
...@@ -53,7 +53,7 @@ AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\ ...@@ -53,7 +53,7 @@ AM_LDFLAGS = -rpath '\$(libvlcdir)' -avoid-version \\
if HAVE_COMPILER_EXPORT if HAVE_COMPILER_EXPORT
AM_LDFLAGS += -export-dynamic AM_LDFLAGS += -export-dynamic
else else
AM_LDFLAGS += -export-symbol-regex ^\$(VLC_ENTRY)\$\$ AM_LDFLAGS += -export-symbol-regex ^vlc_entry
endif endif
AM_LIBADD = \$(LTLIBVLC) AM_LIBADD = \$(LTLIBVLC)
endif 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