comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:9668c317e887
1 Index: uwsgi-1.9.13/plugins/emperor_mongodb/uwsgiplugin.py
2 ===================================================================
3 --- uwsgi-1.9.13.orig/plugins/emperor_mongodb/uwsgiplugin.py
4 +++ uwsgi-1.9.13/plugins/emperor_mongodb/uwsgiplugin.py
5 @@ -8,7 +8,7 @@ LDFLAGS = []
6 LIBS = []
7 if not 'UWSGI_MONGODB_NOLIB' in os.environ:
8 LIBS.append('-lmongoclient')
9 - LIBS.append('-lboost_thread')
10 + LIBS.append('-lboost_thread-mt')
11 LIBS.append('-lboost_filesystem')
12
13 GCC_LIST = ['plugin', 'emperor_mongodb.cc']
14 Index: uwsgi-1.9.13/plugins/stats_pusher_mongodb/uwsgiplugin.py
15 ===================================================================
16 --- uwsgi-1.9.13.orig/plugins/stats_pusher_mongodb/uwsgiplugin.py
17 +++ uwsgi-1.9.13/plugins/stats_pusher_mongodb/uwsgiplugin.py
18 @@ -8,7 +8,7 @@ LDFLAGS = []
19 LIBS = []
20 if not 'UWSGI_MONGODB_NOLIB' in os.environ:
21 LIBS.append('-lmongoclient')
22 - LIBS.append('-lboost_thread')
23 + LIBS.append('-lboost_thread-mt')
24 LIBS.append('-lboost_filesystem')
25
26 GCC_LIST = ['plugin', 'stats_pusher_mongodb.cc']
27 Index: uwsgi-1.9.13/plugins/mongodb/uwsgiplugin.py
28 ===================================================================
29 --- uwsgi-1.9.13.orig/plugins/mongodb/uwsgiplugin.py
30 +++ uwsgi-1.9.13/plugins/mongodb/uwsgiplugin.py
31 @@ -2,7 +2,7 @@ NAME='mongodb'
32
33 CFLAGS = []
34 LDFLAGS = []
35 -LIBS = ['-Wl,-whole-archive', '-lmongoclient', '-Wl,-no-whole-archive', '-lboost_thread', '-lboost_system', '-lboost_filesystem']
36 +LIBS = ['-Wl,-whole-archive', '-lmongoclient', '-Wl,-no-whole-archive', '-lboost_thread-mt', '-lboost_system', '-lboost_filesystem']
37
38 GCC_LIST = ['plugin']
39
40 Index: uwsgi-1.9.13/plugins/gridfs/uwsgiplugin.py
41 ===================================================================
42 --- uwsgi-1.9.13.orig/plugins/gridfs/uwsgiplugin.py
43 +++ uwsgi-1.9.13/plugins/gridfs/uwsgiplugin.py
44 @@ -9,7 +9,7 @@ LIBS = []
45 if not 'UWSGI_MONGODB_NOLIB' in os.environ:
46 LIBS.append('-lmongoclient')
47 LIBS.append('-lstdc++')
48 - LIBS.append('-lboost_thread')
49 + LIBS.append('-lboost_thread-mt')
50 LIBS.append('-lboost_system')
51 LIBS.append('-lboost_filesystem')
52