diff -Nru pyexiv2.orig/src/SConscript pyexiv2/src/SConscript --- pyexiv2.orig/src/SConscript 2008-02-18 23:32:00.000000000 +0100 +++ pyexiv2/src/SConscript 2008-07-17 17:45:25.000000000 +0200 @@ -3,6 +3,7 @@ import sys import os.path +from distutils.sysconfig import get_python_lib env = Environment() @@ -22,7 +23,8 @@ # 'scons install'. If DESTDIR is specified on the command line when invoking # scons, it will be prepended to each installed target file. See # http://www.gnu.org/prep/standards/html_node/DESTDIR.html for reference. -python_lib_path = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3], 'site-packages') +#python_lib_path = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3], 'site-packages') +python_lib_path = get_python_lib(1) dest_dir = ARGUMENTS.get('DESTDIR') if (dest_dir is None) or (not os.path.isabs(dest_dir)): install_dir = python_lib_path