On Wed, Feb 25, 2009 at 12:30 AM, Philippe Gerum <r...@xenomai.org> wrote:
>
>> 2.  libpthread_rt.la should not depend on "lpthread".
>>
>
> Nak. In flat mode, turning the link dependencies order upside down will not 
> buy
> us anything. Two-phase link is the only way to prevent circular/invalid
> dependencies with a static only format when symbol wrapping is involved.
>

Agree. But "libpthread_rt_la_LDFLAGS" should not include "-lpthread",
otherwise libtool will think libpthread_rt.a depends on libpthread.
I don't think there is such a dependency, isn't it?

-Yi

--- xenomai-2.4.x-clean/src/skins/posix/Makefile.in     2008-06-02
05:32:28.000000000 +0800
+++ xenomai-2.4.x/src/skins/posix/Makefile.in   2009-02-23
17:12:14.000000000 +0800
@@ -239,7 +239,7 @@ target_vendor = @target_vendor@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 lib_LTLIBRARIES = libpthread_rt.la
-libpthread_rt_la_LDFLAGS = -version-info 1:0:0 -lpthread
+libpthread_rt_la_LDFLAGS = -version-info 1:0:0
 libpthread_rt_la_SOURCES = \
        init.c \
        thread.c \

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to