--- src/SConscript.orig 2011-10-24 10:06:02.000000000 -0700 +++ src/SConscript 2012-09-06 18:42:31.000000000 -0700 @@ -23,12 +23,12 @@ # 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'] +libs = [ARGUMENTS.get('BOOSTLIB', 'boost_python'), 'exiv2', ARGUMENTS.get('PYTHONLIB', 'python2.7')] env.Append(LIBS=libs) # Build shared library libpyexiv2 cpp_sources = ['exiv2wrapper.cpp', 'exiv2wrapper_python.cpp'] -libpyexiv2 = env.SharedLibrary('exiv2python', cpp_sources) +libpyexiv2 = env.LoadableModule('libexiv2python.so', cpp_sources) env.Alias('lib', libpyexiv2) # Install the shared library and the Python modules, invoked with