mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Do not compile libmtxcommon as a DLL unless both libebml and libmatroska have been built as a DLL. Otherwise linking will result in duplicate symbols.
This commit is contained in:
parent
40b6c41a9b
commit
d33fc2598a
@ -668,6 +668,10 @@ using namespace libmatroska;
|
||||
MATROSKA_CFLAGS="$MATROSKA_CFLAGS -DMATROSKA_DLL"
|
||||
fi
|
||||
|
||||
if test x"${ac_cv_ebml_dll}" != "xyes" -o x"${ac_cv_matroska_dll}" != "xyes" ; then
|
||||
LIBMTXCOMMONDLL=0
|
||||
fi
|
||||
|
||||
AC_SUBST(MATROSKA_CFLAGS)
|
||||
AC_SUBST(MATROSKA_LIBS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user