aboutsummaryrefslogtreecommitdiffstats
path: root/src/SConscript
diff options
context:
space:
mode:
authorMark Lee <bzr@lazymalevolence.com>2010-02-21 11:13:55 -0800
committerMark Lee <bzr@lazymalevolence.com>2010-02-21 11:13:55 -0800
commit52e7e28324f4fa2b2733a7e2d2292a05fc1453cb (patch)
tree9e9d495b3699bc567e7cc1ab3797fb49e47e4c47 /src/SConscript
parentf68ac3a37ff9aeaf6b980669810986f424e2cebf (diff)
downloadpyexiv2-52e7e28324f4fa2b2733a7e2d2292a05fc1453cb.tar.gz
Allow the builder to specify a custom name for the boost::python library
Needed, for example, when building on certain versions of Debian and Ubuntu (because they added the -mt suffix to the library names). Example: `scons BOOSTLIB=boost_python-mt`
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index 3076c19..15e3059 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -19,7 +19,7 @@ if os.environ.has_key('LDFLAGS'):
env.Append(CPPPATH=[get_python_inc(plat_specific=True)])
# Libraries to link against
-libs = ['boost_python', 'exiv2']
+libs = [ARGUMENTS.get('BOOSTLIB', 'boost_python'), 'exiv2']
env.Append(LIBS=libs)
# Build shared library libpyexiv2