From 720daf583decd04b228caeed02d89f60513b93ef Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 11 Nov 2014 09:16:15 +0200 Subject: [PATCH] Include the threads flag if a static library needs it --- source/binary.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.45.2