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