Don't build plugins with SONAME. Make them plain *.so.

This commit is contained in:
gb 2010-05-04 14:59:27 +00:00 committed by Gwenole Beauchesne
parent e226acaea5
commit e1e1c253e1
5 changed files with 16 additions and 1 deletions

View file

@ -154,6 +154,18 @@ PKG_CHECK_MODULES([GST_VIDEO],
AC_SUBST(GST_VIDEO_CFLAGS)
AC_SUBST(GST_VIDEO_LIBS)
dnl GST_ALL_LDFLAGS:
dnl LDFLAGS 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_ALL_LDFLAGS="-no-undefined"
AC_SUBST(GST_ALL_LDFLAGS)
dnl GST_PLUGIN_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_.*_get_type)\$\$' $GST_ALL_LDFLAGS"
AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl Check for the GStreamer plugins directory
AC_MSG_CHECKING([for GStreamer plugins directory])
GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_MAJORMINOR --variable pluginsdir`

View file

@ -1 +1 @@
debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so*
debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so

View file

@ -28,6 +28,7 @@ libgstvaapiconvert_la_LIBADD = \
$(GST_VIDEO_LIBS) \
$(GST_PLUGINS_BASE_LIBS)
libgstvaapiconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvaapiconvert_la_LIBTOOLFLAGS = --tag=disable-static
# Extra clean files so that maintainer-clean removes *everything*

View file

@ -28,6 +28,7 @@ libgstvaapidecode_la_LIBADD = \
$(GST_VIDEO_LIBS) \
$(GST_PLUGINS_BASE_LIBS)
libgstvaapidecode_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvaapidecode_la_LIBTOOLFLAGS = --tag=disable-static
# Extra clean files so that maintainer-clean removes *everything*

View file

@ -31,6 +31,7 @@ libgstvaapisink_la_LIBADD = \
$(GST_VIDEO_LIBS) \
$(GST_PLUGINS_BASE_LIBS)
libgstvaapisink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvaapisink_la_LIBTOOLFLAGS = --tag=disable-static
# Extra clean files so that maintainer-clean removes *everything*