Skip to content

Commit 7172918

Browse files
author
Dane Springmeyer
committed
quick fix for #33
1 parent ba1f471 commit 7172918

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
mapnik_config = 'mapnik-config'
3131
mason_build = False
3232

33-
boost_python_lib = os.environ.get("BOOST_PYTHON_LIB", 'boost_python')
33+
boost_python_lib = os.environ.get("BOOST_PYTHON_LIB", 'boost_python-mt')
34+
boost_system_lib = os.environ.get("BOOST_SYSTEM_LIB", 'boost_system-mt')
35+
boost_thread_lib = os.environ.get("BOOST_THREAD_LIB", 'boost_thread-mt')
3436

3537
try:
3638
linkflags = subprocess.check_output([mapnik_config, '--libs']).rstrip('\n').split(' ')
@@ -215,9 +217,9 @@
215217
'mapnik',
216218
'mapnik-wkt',
217219
'mapnik-json',
218-
'boost_thread',
219-
'boost_system',
220220
boost_python_lib,
221+
boost_thread_lib,
222+
boost_system_lib
221223
],
222224
extra_compile_args = extra_comp_args,
223225
extra_link_args = linkflags,

0 commit comments

Comments
 (0)