bug-libtool
[Top][All Lists]
Advanced

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

Re: Libtool on FreeBSD with pthreads (with patch)


From: trojan
Subject: Re: Libtool on FreeBSD with pthreads (with patch)
Date: Thu, 24 Jun 2004 17:57:50 +0200 (CEST)

On Thu, 24 Jun 2004, Bob Friesenhahn wrote:

> On Thu, 24 Jun 2004, trojan wrote:
> >
> > I reach some little problem with libtool on FreeBSD when I build
> > packace which use -pthread flag. For example building gnome-vfs fails
> > with:
> 
> What version of libtool are you using?  

Current, 1.5.6 I mean

> It is my understanding that 
> current libtool already captures these options in the .la file.

No, because of:

        case $deplib in
        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
          if test "$linkmode,$pass" = "prog,link"; then
            compile_deplibs="$deplib $compile_deplibs"
            finalize_deplibs="$deplib $finalize_deplibs"
          else
[1]         deplibs="$deplib $deplibs"
          fi
          continue
          ;;

$deplib should be added to new_dependency_libs (aftef [1]), for capture 
-pthread option. IMVHO of course :)

Regards
  Tomasz Trojanowski





reply via email to

[Prev in Thread] Current Thread [Next in Thread]