libtool c++ shlib target + -pthread doesn't link -lpthread
Mamoru Tasaka wrote:
> Rex Dieter wrote, at 12/08/2010 11:50 PM +9:00:
>> I'm trying to find the best solution to:
>> Where a shlib is generated using
>> g++ -shared -pthread ...
>> but the result is a library with undefined symbols to pthread_create (and
>> Do I really need to explicity link -lpthread , or is there a better
> Maybe this?
> -pthread should have priority over -nostdlib -> CLOSED INVALID
Confirmed, libtool c++ shlib target + -pthread doesn't link -lpthread ,
filed bug to track,
devel mailing list