Mercurial > packages > rhel6 > uwsgi
view uwsgi-link-against-boost-mt.patch @ 5:e6b2af6272a4
Update to version 2.0
author | Guido Berhoerster <guido+packaging@berhoerster.name> |
---|---|
date | Wed, 08 Jan 2014 19:46:46 +0100 |
parents | 9668c317e887 |
children |
line wrap: on
line source
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')