[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is -pthread not a dependency that should be passed on?
From: |
Peter Ekberg |
Subject: |
Is -pthread not a dependency that should be passed on? |
Date: |
Mon, 25 Oct 2004 10:16:04 +0200 |
Hello!
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,
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.
Cheers,
Peter
freebsd-pthread.patch
Description: freebsd-pthread.patch
- Is -pthread not a dependency that should be passed on?,
Peter Ekberg <=