diff uwsgi-link-against-boost-mt.patch @ 0:9668c317e887

Initial revision
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Wed, 10 Jul 2013 19:23:16 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsgi-link-against-boost-mt.patch	Wed Jul 10 19:23:16 2013 +0200
@@ -0,0 +1,52 @@
+Index: uwsgi-1.9.13/plugins/emperor_mongodb/uwsgiplugin.py
+===================================================================
+--- uwsgi-1.9.13.orig/plugins/emperor_mongodb/uwsgiplugin.py
++++ uwsgi-1.9.13/plugins/emperor_mongodb/uwsgiplugin.py
+@@ -8,7 +8,7 @@ LDFLAGS = []
+ LIBS = []
+ if not 'UWSGI_MONGODB_NOLIB' in os.environ:
+     LIBS.append('-lmongoclient')
+-    LIBS.append('-lboost_thread')
++    LIBS.append('-lboost_thread-mt')
+     LIBS.append('-lboost_filesystem')
+ 
+ GCC_LIST = ['plugin', 'emperor_mongodb.cc']
+Index: uwsgi-1.9.13/plugins/stats_pusher_mongodb/uwsgiplugin.py
+===================================================================
+--- uwsgi-1.9.13.orig/plugins/stats_pusher_mongodb/uwsgiplugin.py
++++ uwsgi-1.9.13/plugins/stats_pusher_mongodb/uwsgiplugin.py
+@@ -8,7 +8,7 @@ LDFLAGS = []
+ LIBS = []
+ if not 'UWSGI_MONGODB_NOLIB' in os.environ:
+     LIBS.append('-lmongoclient')
+-    LIBS.append('-lboost_thread')
++    LIBS.append('-lboost_thread-mt')
+     LIBS.append('-lboost_filesystem')
+ 
+ GCC_LIST = ['plugin', 'stats_pusher_mongodb.cc']
+Index: uwsgi-1.9.13/plugins/mongodb/uwsgiplugin.py
+===================================================================
+--- uwsgi-1.9.13.orig/plugins/mongodb/uwsgiplugin.py
++++ uwsgi-1.9.13/plugins/mongodb/uwsgiplugin.py
+@@ -2,7 +2,7 @@ NAME='mongodb'
+ 
+ CFLAGS = []
+ LDFLAGS = []
+-LIBS = ['-Wl,-whole-archive', '-lmongoclient', '-Wl,-no-whole-archive', '-lboost_thread', '-lboost_system', '-lboost_filesystem']
++LIBS = ['-Wl,-whole-archive', '-lmongoclient', '-Wl,-no-whole-archive', '-lboost_thread-mt', '-lboost_system', '-lboost_filesystem']
+ 
+ GCC_LIST = ['plugin']
+ 
+Index: uwsgi-1.9.13/plugins/gridfs/uwsgiplugin.py
+===================================================================
+--- uwsgi-1.9.13.orig/plugins/gridfs/uwsgiplugin.py
++++ uwsgi-1.9.13/plugins/gridfs/uwsgiplugin.py
+@@ -9,7 +9,7 @@ LIBS = []
+ if not 'UWSGI_MONGODB_NOLIB' in os.environ:
+     LIBS.append('-lmongoclient')
+     LIBS.append('-lstdc++')
+-    LIBS.append('-lboost_thread')
++    LIBS.append('-lboost_thread-mt')
+     LIBS.append('-lboost_system')
+     LIBS.append('-lboost_filesystem')
+