configure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs will be built or installed on MingW fo...

Original commit message from CVS:
* configure.ac:
Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
will be built or installed on MingW for our plugins in ext/; also,
it looks like the right thing to do and we do it for all our other
plugin modules as well. Fixes #440253.
This commit is contained in:
Tim-Philipp Müller 2007-05-24 08:51:52 +00:00
parent a23a6a9d2a
commit 6b4825428d
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
will be built or installed on MingW for our plugins in ext/; also,
it looks like the right thing to do and we do it for all our other
plugin modules as well. Fixes #440253.
2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):

View file

@ -161,6 +161,9 @@ GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$
AC_SUBST(GST_CFLAGS)
AC_SUBST(GST_LIBS)
GST_ALL_LDFLAGS="-no-undefined"
AC_SUBST(GST_ALL_LDFLAGS)
dnl this really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"