From: Mikko Rasa Date: Tue, 11 Nov 2014 07:16:15 +0000 (+0200) Subject: Include the threads flag if a static library needs it X-Git-Url: http://git.tdb.fi/?p=builder.git;a=commitdiff_plain;h=720daf583decd04b228caeed02d89f60513b93ef Include the threads flag if a static library needs it --- diff --git a/source/binary.cpp b/source/binary.cpp index 55e517a..753ddbc 100644 --- a/source/binary.cpp +++ b/source/binary.cpp @@ -59,6 +59,8 @@ void Binary::find_dependencies() { static_binfo.libpath.insert(static_binfo.libpath.end(), binfo.libpath.begin(), binfo.libpath.end()); static_binfo.keep_symbols.insert(static_binfo.keep_symbols.end(), binfo.keep_symbols.begin(), binfo.keep_symbols.end()); + if(binfo.threads) + static_binfo.threads = true; } list libs_to_process;