[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Is -pthread not a dependency that should be passed on?
From: |
Peter Ekberg |
Subject: |
RE: Is -pthread not a dependency that should be passed on? |
Date: |
Tue, 26 Oct 2004 17:02:09 +0200 |
I wrote:
> In the GGI project (www.ggi-project.org) we have a
> problem on FreeBSD that is a bit annoying. We build
> a shared library (libgg) that depends on pthreads,
> and would like anything that uses that library to
> automatically pick up the needed -pthread flag on,
s/on,/on FreeBSD,/
> just as is done if -lpthread is needed on other
> platforms.
>
> I don't know how correct this patch is in general,
> but it does solve our problem.
>
> Patch for libtool-1.9d attached.
>
> Please consider!
>
> If it is not correct in general for all the threading
> flags, please do a variant that only passes on the
> -pthread flag or only does it on FreeBSD or whatever...
>
> Please CC me, as I'm not subscribed.
On the off chance that this went by without comment
because the patch was against the renamed file ltmain.in,
here's an updated patch against ltmain.m4sh in
libtool-1.9f.
Cheers,
Peter
freebsd-pthread2.patch
Description: freebsd-pthread2.patch