Attached is a patch to have emotion modules to link with libemotion.

Problem is that current behavior relies on libemotion.so being
dlopen() with RTLD_GLOBAL so its symbols get in subsequently loaded
libraries, but some programs don't do that (Python, for instance).

The correct behavior is to link with libemotion since it use its
symbols. The attached patch makes python-emotion works as expected,
and if applied I'll import python-emotion to CVS.

--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
  MSN: [EMAIL PROTECTED]
 ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Index: src/modules/Makefile.am
===================================================================
RCS file: /var/cvs/e/e17/libs/emotion/src/modules/Makefile.am,v
retrieving revision 1.9
diff -u -r1.9 Makefile.am
--- src/modules/Makefile.am     17 Jul 2006 17:11:04 -0000      1.9
+++ src/modules/Makefile.am     7 May 2007 01:20:20 -0000
@@ -26,7 +26,7 @@
 emotion_xine.c \
 emotion_xine.h \
 emotion_xine_vo_out.c
-emotion_decoder_xine_la_LIBADD       = @EVAS_LIBS@ @ECORE_LIBS@ @XINE_LIBS@ 
-lpthread
+emotion_decoder_xine_la_LIBADD       = @EVAS_LIBS@ @ECORE_LIBS@ @XINE_LIBS@ 
-lpthread -lemotion
 emotion_decoder_xine_la_LDFLAGS      = -module -avoid-version \
                                       -L$(top_builddir)/src/lib 
-L$(top_builddir)/src/lib/.libs
 emotion_decoder_xine_la_DEPENDENCIES = $(top_builddir)/config.h
@@ -38,7 +38,7 @@
 emotion_gstreamer.h \
 emotion_gstreamer_pipeline.c \
 emotion_gstreamer_pipeline.h
-emotion_decoder_gstreamer_la_LIBADD  = @EVAS_LIBS@ @ECORE_LIBS@ @GST_LIBS@
+emotion_decoder_gstreamer_la_LIBADD  = @EVAS_LIBS@ @ECORE_LIBS@ @GST_LIBS@ 
-lemotion
 emotion_decoder_gstreamer_la_LDFLAGS = -module -avoid-version \
                                       -L$(top_builddir)/src/lib 
-L$(top_builddir)/src/lib/.libs
 emotion_decoder_gstreamer_la_DEPENDENCIES = $(top_builddir)/config.h
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to