Export only gst_plugin_desc from plugins
authorRamon Garcia Fernandez <ramon_garcia_f@yahoo.com>
Sun, 22 Feb 2004 01:53:40 +0000 (01:53 +0000)
committerRamon Garcia Fernandez <ramon_garcia_f@yahoo.com>
Sun, 22 Feb 2004 01:53:40 +0000 (01:53 +0000)
Original commit message from CVS:
Export only gst_plugin_desc from plugins

ChangeLog
configure.ac

index b710f78..7d46dc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-22 Ramon Garcia <ramon_garcia_f@yahoo.com>
+        * configure.ac: Export only gst_plugin_desc from plugins.
+         Note that this change only makes any effect with Linux using libtool 
+        1.5.2 or higher. Otherwise it is silently ignored, but it would build
+         fine. And don't try to have several versions of libtool in different
+         directories.
+
 2004-02-20  Andy Wingo  <wingo@pobox.com>
 
        * gst/intfloat/, gst/oneton: Removed, replaced by audioconvert and
index a54e0b6..1cc668f 100644 (file)
@@ -65,7 +65,7 @@ dnl decide on error flags
 AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
 
 if test "x$GST_WALL" = "xyes"; then
-   GST_ERROR="$GST_ERROR -Wall"
+   GST_ERROR="$GST_ERROR -Wall -Wno-sign-compare"
 
    if test "x$GST_CVS" = "xyes"; then
      AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
@@ -326,7 +326,7 @@ dnl ===========================================================================
 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
 AC_SUBST(plugindir)
 
-GST_PLUGIN_LDFLAGS='-module -avoid-version'
+GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex gst_plugin_desc'
 AC_SUBST(GST_PLUGIN_LDFLAGS)
 
 dnl these are all the gst plug-ins, compilable without additional libs