Commit 07d38617 authored by Sam Hocevar's avatar Sam Hocevar

Link vlc-cache-gen with the C++ standard library to avoid issues when we

dlclose() a C++ plugin that was built with a faulty library that may have
registered __cxa_atexit callbacks (usually through the libstdc++ that
library was built with).

Upgrading libstdc++ is not always a solution since some code may have been
inlined and we can't get rid of it.
parent 8e34ab46
......@@ -59,7 +59,7 @@ vlc_win32_rc.rc: $(top_builddir)/config.status vlc_win32_rc.rc.in
vlc_win32_rc.$(OBJEXT): vlc_win32_rc.rc
$(WINDRES) --include-dir $(top_srcdir)/share/icons -i $< -o $@
vlc_cache_gen_SOURCES = cachegen.c
vlc_cache_gen_SOURCES = cachegen.c dummy.cpp
vlc_cache_gen_LDADD = \
$(GNUGETOPT_LIBS) \
../compat/libcompat.la \
......
/* This file is only here to force cachegen to be linked against libstdc++ */
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