[aravis] gst: add libaravis to LIBADD.



commit 5063be257114903e59992be4c3a3c182e01b2471
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Wed Jun 29 21:43:00 2011 +0200

    gst: add libaravis to LIBADD.
    
    gst failed to load the aravissrc plugin due to unresolved symbols.

 gst/Makefile.am          |    4 +++-
 gst/gst-aravis-inspect   |    2 +-
 gst/gst-aravis-launch    |    5 +++--
 gst/gst-aravis-launch.in |    9 ---------
 4 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/gst/Makefile.am b/gst/Makefile.am
index c6339f2..30eba1e 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -17,7 +17,9 @@ gstplugin_LTLIBRARIES = libgstaravis- ARAVIS_API_VERSION@.la
 
 libgstaravis_ ARAVIS_API_VERSION@_la_SOURCES = gstaravis.c gstaravis.h
 libgstaravis_ ARAVIS_API_VERSION@_la_CFLAGS = $(ARAVIS_GST_PLUGIN_CFLAGS)
-libgstaravis_ ARAVIS_API_VERSION@_la_LIBADD = $(ARAVIS_GST_PLUGIN_LIBS)
+libgstaravis_ ARAVIS_API_VERSION@_la_LIBADD =		\
+	$(ARAVIS_GST_PLUGIN_LIBS) 			\
+	$(top_builddir)/src/libaravis- ARAVIS_API_VERSION@.la
 libgstaravis_ ARAVIS_API_VERSION@_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstaravis_ ARAVIS_API_VERSION@_la_LIBTOOLFLAGS = --tag=disable-static
 
diff --git a/gst/gst-aravis-inspect b/gst/gst-aravis-inspect
index ea9f808..7938832 100755
--- a/gst/gst-aravis-inspect
+++ b/gst/gst-aravis-inspect
@@ -4,5 +4,5 @@ exec_prefix=`pwd`
 
 export PATH=${exec_prefix}/bin:${PATH}
 
-LD_PRELOAD=../src/.libs/libaravis-0.2.so gst-inspect --gst-plugin-load=../gst/.libs/libgstaravis-0.2.so $*
+gst-inspect --gst-plugin-load=../gst/.libs/libgstaravis-0.2.so $*
 
diff --git a/gst/gst-aravis-launch b/gst/gst-aravis-launch
index 1520e77..2ce657d 100755
--- a/gst/gst-aravis-launch
+++ b/gst/gst-aravis-launch
@@ -1,8 +1,9 @@
 #!/bin/sh
 
-exec_prefix=`pwd`
+prefix=/home/pacaud/Sources/INSTALL
+exec_prefix=/home/pacaud/Sources/INSTALL
 
 export PATH=${exec_prefix}/bin:${PATH}
 
-LD_PRELOAD=../src/.libs/libaravis-0.2.so gst-launch --gst-plugin-load=../gst/.libs/libgstaravis-0.2.so -v $*
+gst-launch --gst-plugin-load=../gst/.libs/libgstaravis.so -v $*
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]