]> git.pld-linux.org Git - packages/python-PyQt4.git/blob - python-PyQt4-64bit.patch
- Release 2. BR: sipver 2:4.10.3.
[packages/python-PyQt4.git] / python-PyQt4-64bit.patch
1 --- PyQt-x11-gpl-4.4.4/configure.py.orig        2008-11-18 03:44:10.692417175 +0100
2 +++ PyQt-x11-gpl-4.4.4/configure.py     2008-11-18 03:47:26.735730174 +0100
3 @@ -758,16 +758,15 @@
4              else:
5                  # Use distutils to get the additional configuration.
6                  from distutils.sysconfig import get_config_vars
7 +               from distutils.sysconfig import get_python_lib
8                  ducfg = get_config_vars()
9  
10                  if sys.platform == "darwin":
11                      # We need to work out how to specify the right framework
12                      # version.
13                      link = "-framework Python"
14 -                elif ("--enable-shared" in ducfg.get("CONFIG_ARGS", "") and
15 -                      glob.glob("%s/lib/libpython%d.%d*" % (ducfg["exec_prefix"], py_major, py_minor))):
16 -                    lib_dir_flag = quote("-L%s/lib" % ducfg["exec_prefix"])
17 -                    link = "%s -lpython%d.%d" % (lib_dir_flag, py_major, py_minor)
18 +                elif ("--enable-shared" in ducfg.get("CONFIG_ARGS", "") ): 
19 +                    link = "-L%s -lpython%d.%d" % (get_python_lib(plat_specific=1, standard_lib=1), py_major, py_minor)
20                  else:
21                      sipconfig.inform("Qt Designer plugin disabled because Python library is static")
22                      opts.designer_plugin = False
This page took 0.022765 seconds and 3 git commands to generate.