| Summary: | dev-util/gtest: libgtest.so is not linked to pthread but uses it | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexis Ballier <aballier> |
| Component: | Current packages | Assignee: | MATSUU Takuto (RETIRED) <matsuu> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Alexis Ballier
2010-10-11 14:59:24 UTC
I think that it should be use $(gtest-config --ldflags --libs). $ gcc foo.c $(gtest-config --ldflags --libs) I'm sorry but, simply, no: extra libs should be needed only for static linking. Shared elf objects have a way to express their library requirements by linking to them; not using this is, if not a bug, an annoying suboptimal use. |