diff options
author | Mark Lee <marklee@malept.com> | 2010-02-22 11:28:38 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-02-22 11:28:38 +0100 |
commit | 7345d4d6ff30b5eb148c4b34236b00806bc12657 (patch) | |
tree | 9ce63e946418ec334630ed94487e5c2c836273fa | |
parent | f68ac3a37ff9aeaf6b980669810986f424e2cebf (diff) | |
parent | 6a584be7e3e1f9773d2b4cbfa5f550dc126746fe (diff) | |
download | pyexiv2-7345d4d6ff30b5eb148c4b34236b00806bc12657.tar.gz |
Allow the builder to specify a custom name for the boost::python library.
-rw-r--r-- | src/SConscript | 5 |
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 |