pthread configure problem in kdelibs trunk

Benjamin Reed rangerrick at gmail.com
Sun Apr 9 16:59:03 CEST 2006


On 4/9/06, Volker Krause <volker.krause at rwth-aachen.de> wrote:

> the test for pthread_getattr_np() fails due to a missing '-pthread' in the
> linker flags (at least for cartman and myself). This prevents the compilation
> of kjs.
>
> The attached patch seems to solve this problem. Is this the right way to fix
> it?

-pthread is AFAIK a GNU ld option, and doesn't necessarily work on all
supported platforms (it's not a valid option on OSX, I believe,
although the linker might just ignore it).  Best to probably test for
-pthread first.


More information about the Kde-buildsystem mailing list