aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Lee <marklee@malept.com>2010-02-22 11:28:38 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-02-22 11:28:38 +0100
commit7345d4d6ff30b5eb148c4b34236b00806bc12657 (patch)
tree9ce63e946418ec334630ed94487e5c2c836273fa
parentf68ac3a37ff9aeaf6b980669810986f424e2cebf (diff)
parent6a584be7e3e1f9773d2b4cbfa5f550dc126746fe (diff)
downloadpyexiv2-7345d4d6ff30b5eb148c4b34236b00806bc12657.tar.gz
Allow the builder to specify a custom name for the boost::python library.
-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