aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index 3076c19..abf299c 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -19,7 +19,10 @@ if os.environ.has_key('LDFLAGS'):
env.Append(CPPPATH=[get_python_inc(plat_specific=True)])
# Libraries to link against
-libs = ['boost_python', 'exiv2']
+# On some systems, boost_python is actually called boost_python-mt.
+# Use the BOOSTLIB argument to override the default value.
+# See https://bugs.launchpad.net/pyexiv2/+bug/523858.
+libs = [ARGUMENTS.get('BOOSTLIB', 'boost_python'), 'exiv2']
env.Append(LIBS=libs)
# Build shared library libpyexiv2