On Mon, 12 Jul 2010 11:55:04 +0200 (CEST) Vincent Torri <[email protected]>
said:

> 
> 
> On Mon, 12 Jul 2010, Carsten Haitzler (The Rasterman) wrote:
> 
> > On Mon, 12 Jul 2010 08:15:22 +0200 (CEST) Vincent Torri
> > <[email protected]> said:
> >
> >>
> >>
> >> On Sun, 11 Jul 2010, Enlightenment SVN wrote:
> >>
> >>> Log:
> >>>  more correct version of the dso fix
> >>>
> >>>
> >>> Author:       raster
> >>> Date:         2010-07-11 16:57:08 -0700 (Sun, 11 Jul 2010)
> >>> New Revision: 50185
> >>>
> >>> Modified:
> >>>  trunk/eet/src/bin/Makefile.am
> >>>
> >>> Modified: trunk/eet/src/bin/Makefile.am
> >>> ===================================================================
> >>> --- trunk/eet/src/bin/Makefile.am 2010-07-11 23:56:40 UTC (rev
> >>> 50184) +++ trunk/eet/src/bin/Makefile.am  2010-07-11 23:57:08 UTC
> >>> (rev 50185) @@ -17,5 +17,5 @@
> >>>
> >>> eet_SOURCES = eet_main.c
> >>> eet_CFLAGS = @EET_CFLAGS@
> >>> -eet_LDADD = $(top_builddir)/src/lib/libeet.la
> >>> +eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@
> >>> eet_LDFLAGS = @lt_enable_auto_import@ @ld_as_needed@
> >>
> >> I'm wondering why it is needed. Without that modification, here is what
> >> libtool does:
> >
> > 6:32PM ~/C/eet/src/bin > grep eina *.c
> >   _eet_main_log_dom = eina_log_domain_register("Eet_Main",EINA_COLOR_CYAN);
> >   eina_log_domain_unregister(_eet_main_log_dom);
> >
> > that's why. ok - evil might not be needed :)
> 
> again, see below:
> 
> >> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2
> >> -Wl,--as-needed  -o eet eet-eet_main.o ../../src/lib/libeet.la
> >> libtool: link: gcc -std=gnu99 -g -O2 -Wl,--as-needed -o .libs/eet
> >> eet-eet_main.o  ../../src/lib/.libs/libeet.so -L/home/torri/local/e17/lib
> 
> just after,look...
> 
> >> /home/torri/local/e17/lib/libeina.so
> 
> you see ? eina is here.

i see no -leina on your link line. eet_main.c directly uses an eina call. thus
should link to eina itself. even if eet HAPPENS to link to it. eet in future
may not happen to link to eina. 

> >> -lrt -ldl -lz /usr/lib/libjpeg.so -lm
> >> -pthread -Wl,-rpath -Wl,/home/torri/local/e17/lib
> 
> So again:
> 
> >> So, there is a link against libeina, no ?
> 
> Vincent
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to