on 02/06/2010 13:01 Andriy Gapon said the following:
> on 02/06/2010 04:26 Dima Panov said the following:
>> I've playing with this patch for now. It should be enough for any 
>> non-default compiler.
>>
>> ====================
>> --- ./kjs/CMakeLists.txt.orig        2009-05-04 13:34:01.000000000 +0200
>> +++ ./kjs/CMakeLists.txt     2009-05-04 13:34:07.000000000 +0200
>> @@ -220,7 +220,7 @@
>>  
>>  set_target_properties(kjs_bin PROPERTIES OUTPUT_NAME kjs)
>>  
>> -target_link_libraries(kjs_bin ${KJSLIBNAME})
>> +target_link_libraries(kjs_bin ${KJSLIBNAME} pthread)
>>  
>>  install(TARGETS kjs_bin ${INSTALL_TARGETS_DEFAULT_ARGS})
>>  
>> ====================
>>
>> Test it in your environment
> 
> Worked for me too (with gcc44).
> Thanks a lot!

BTW, just wondering how this works with system gcc...
Does it somehow auto-add -pthread flag or is there something else going on 
behind
the scenes?

-- 
Andriy Gapon
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to