dc-qt (0.2.0.alpha-4.1) 30-libboost-linking.patch

Summary

 backend/SConscript   |    2 +-
 rpcdriver/SConscript |    4 ++--
 ui/ui.pro            |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

--- SConscript.orig	2007-05-19 22:30:15.000000000 +1000
+++ dc-qt-0.2.0.alpha/backend/SConscript	2007-05-19 22:30:45.000000000 +1000
@@ -3,7 +3,7 @@
 Import('env')
 
 ## Copy the parent environment and att some libraries and linker paths
-backende = env.Copy(CPPPATH = ['#rpcdriver/', '#dcpp'], LIBS = ['dcpp', 'rpc', 'boost_thread', 'pthread', 'z', 'bz2', 'boost_program_options','boost_filesystem'], LIBPATH = ['/usr/local/lib', '#rpcdriver', '#dcpp'])
+backende = env.Copy(CPPPATH = ['#rpcdriver/', '#dcpp'], LIBS = ['dcpp', 'rpc', 'boost_thread-mt', 'pthread', 'z', 'bz2', 'boost_program_options-mt','boost_filesystem-mt'], LIBPATH = ['/usr/local/lib', '#rpcdriver', '#dcpp'])
 
 ## Build the backend executable
 backende.Program('backend', Split('main.cpp commandhandlers.cpp ClientNotifier.cpp SessionManager.cpp Session.cpp TransferManager.cpp Selecter.cpp filelog.cpp SettingsMapper.cpp'))
--- ui.pro.orig	2007-05-19 22:31:27.000000000 +1000
+++ dc-qt-0.2.0.alpha/ui/ui.pro	2007-05-19 22:31:42.000000000 +1000
@@ -78,5 +78,5 @@
 INCPATH += . ../rpcdriver ../ ../backend /usr/include
 RESOURCES += res.qrc
 unix{
-  LIBS = -L../rpcdriver -L/usr/local/lib -lrpc -lboost_thread -lboost_program_options
+  LIBS = -L../rpcdriver -L/usr/local/lib -lrpc -lboost_thread-mt -lboost_program_options-mt
 }
--- SConscript.orig	2007-05-19 22:32:09.000000000 +1000
+++ dc-qt-0.2.0.alpha/rpcdriver/SConscript	2007-05-19 22:32:18.000000000 +1000
@@ -3,8 +3,8 @@
 
 rpce = env.Copy(CCFLAGS = '-g -O0 -Wall')
 rpce.Append(CXXFLAGS = '-I. -I/usr/local/include')
-rpce.Append(LIBS = 'libboost_thread')
+rpce.Append(LIBS = 'libboost_thread-mt')
 
 rpce.Program('server',Split('socket.cpp socketmanager.cpp datainputstream.cpp commanddispatcher.cpp rpcdriver.cpp main.cpp dataoutputstream.cpp'))
 
-rpce.Library('rpc', Split('socket.cpp socketmanager.cpp datainputstream.cpp commanddispatcher.cpp rpcdriver.cpp dataoutputstream.cpp'))
\ No newline at end of file
+rpce.Library('rpc', Split('socket.cpp socketmanager.cpp datainputstream.cpp commanddispatcher.cpp rpcdriver.cpp dataoutputstream.cpp'))