summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-05-04 14:59:27 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2010-09-20 12:55:44 +0200
commite1e1c253e143e97d6a9492f7c7281aa9a47e06b6 (patch)
tree305bf47573514daecd2e60f80f9c3f42e7c2b6c4
parente226acaea5818df662e092751a2d75dfc5c4940b (diff)
Don't build plugins with SONAME. Make them plain *.so.
-rw-r--r--configure.ac12
-rw-r--r--debian.upstream/gstreamer-vaapi.install.in2
-rw-r--r--gst/vaapiconvert/Makefile.am1
-rw-r--r--gst/vaapidecode/Makefile.am1
-rw-r--r--gst/vaapisink/Makefile.am1
5 files changed, 16 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 980fc724..2bdbe9a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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`
diff --git a/debian.upstream/gstreamer-vaapi.install.in b/debian.upstream/gstreamer-vaapi.install.in
index 76b63bdf..5af8fbb5 100644
--- a/debian.upstream/gstreamer-vaapi.install.in
+++ b/debian.upstream/gstreamer-vaapi.install.in
@@ -1 +1 @@
-debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so*
+debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so
diff --git a/gst/vaapiconvert/Makefile.am b/gst/vaapiconvert/Makefile.am
index 74e3d378..34a86599 100644
--- a/gst/vaapiconvert/Makefile.am
+++ b/gst/vaapiconvert/Makefile.am
@@ -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*
diff --git a/gst/vaapidecode/Makefile.am b/gst/vaapidecode/Makefile.am
index b5a230e3..b1fd20d5 100644
--- a/gst/vaapidecode/Makefile.am
+++ b/gst/vaapidecode/Makefile.am
@@ -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*
diff --git a/gst/vaapisink/Makefile.am b/gst/vaapisink/Makefile.am
index 3265f33b..c1298b95 100644
--- a/gst/vaapisink/Makefile.am
+++ b/gst/vaapisink/Makefile.am
@@ -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*