Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sjhbuild/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'sjhbuild/config.py')
-rw-r--r--sjhbuild/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sjhbuild/config.py b/sjhbuild/config.py
index df7d569..321669c 100644
--- a/sjhbuild/config.py
+++ b/sjhbuild/config.py
@@ -53,8 +53,8 @@ class Config(jhbuild.config.Config):
# the Python path since '.pth' files (here pygtk.pth)
# only work properly in system directories
pythonpath_basic = distutils.sysconfig.get_python_lib(prefix='').split('/', 1)[1]
- pythonpath_gtk = os.path.join(self.prefix, ["lib", "lib64"][self.use_lib64], pythonpath_basic, 'gtk-2.0')
- jhbuild.config.addpath('PYTHONPATH', pythonpath_gtk)
+ jhbuild.config.addpath('PYTHONPATH', os.path.join(self.prefix, "lib", pythonpath_basic, 'gtk-2.0'))
+ jhbuild.config.addpath('PYTHONPATH', os.path.join(self.prefix, "lib64", pythonpath_basic, 'gtk-2.0'))
# workaround for bug in jhbuild
# note: even for use_lib64 we need "lib" here as that's where distutils installs to