Mercurial > packages > rhel6 > uwsgi
annotate uwsgi-link-against-boost-mt.patch @ 1:1697a2bdcf59
Add .hgignore file
author | Guido Berhoerster <guido+packaging@berhoerster.name> |
---|---|
date | Sat, 27 Jul 2013 13:45:35 +0200 |
parents | 9668c317e887 |
children |
rev | line source |
---|---|
0
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
1 Index: uwsgi-1.9.13/plugins/emperor_mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
2 =================================================================== |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
3 --- uwsgi-1.9.13.orig/plugins/emperor_mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
4 +++ uwsgi-1.9.13/plugins/emperor_mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
5 @@ -8,7 +8,7 @@ LDFLAGS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
6 LIBS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
7 if not 'UWSGI_MONGODB_NOLIB' in os.environ: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
8 LIBS.append('-lmongoclient') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
9 - LIBS.append('-lboost_thread') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
10 + LIBS.append('-lboost_thread-mt') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
11 LIBS.append('-lboost_filesystem') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
12 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
13 GCC_LIST = ['plugin', 'emperor_mongodb.cc'] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
14 Index: uwsgi-1.9.13/plugins/stats_pusher_mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
15 =================================================================== |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
16 --- uwsgi-1.9.13.orig/plugins/stats_pusher_mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
17 +++ uwsgi-1.9.13/plugins/stats_pusher_mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
18 @@ -8,7 +8,7 @@ LDFLAGS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
19 LIBS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
20 if not 'UWSGI_MONGODB_NOLIB' in os.environ: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
21 LIBS.append('-lmongoclient') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
22 - LIBS.append('-lboost_thread') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
23 + LIBS.append('-lboost_thread-mt') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
24 LIBS.append('-lboost_filesystem') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
25 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
26 GCC_LIST = ['plugin', 'stats_pusher_mongodb.cc'] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
27 Index: uwsgi-1.9.13/plugins/mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
28 =================================================================== |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
29 --- uwsgi-1.9.13.orig/plugins/mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
30 +++ uwsgi-1.9.13/plugins/mongodb/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
31 @@ -2,7 +2,7 @@ NAME='mongodb' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
32 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
33 CFLAGS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
34 LDFLAGS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
35 -LIBS = ['-Wl,-whole-archive', '-lmongoclient', '-Wl,-no-whole-archive', '-lboost_thread', '-lboost_system', '-lboost_filesystem'] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
36 +LIBS = ['-Wl,-whole-archive', '-lmongoclient', '-Wl,-no-whole-archive', '-lboost_thread-mt', '-lboost_system', '-lboost_filesystem'] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
37 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
38 GCC_LIST = ['plugin'] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
39 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
40 Index: uwsgi-1.9.13/plugins/gridfs/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
41 =================================================================== |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
42 --- uwsgi-1.9.13.orig/plugins/gridfs/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
43 +++ uwsgi-1.9.13/plugins/gridfs/uwsgiplugin.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
44 @@ -9,7 +9,7 @@ LIBS = [] |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
45 if not 'UWSGI_MONGODB_NOLIB' in os.environ: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
46 LIBS.append('-lmongoclient') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
47 LIBS.append('-lstdc++') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
48 - LIBS.append('-lboost_thread') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
49 + LIBS.append('-lboost_thread-mt') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
50 LIBS.append('-lboost_system') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
51 LIBS.append('-lboost_filesystem') |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
52 |