Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 283936 | Differences between
and this patch

Collapse All | Expand All

(-)PyQt-x11-gpl-4.6.1/configure.py.old (+5 lines)
Lines 848-853 Link Here
848
            else:
848
            else:
849
                # Use distutils to get the additional configuration.
849
                # Use distutils to get the additional configuration.
850
                from distutils.sysconfig import get_config_vars
850
                from distutils.sysconfig import get_config_vars
851
                from distutils.sysconfig import get_python_lib
852
851
                ducfg = get_config_vars()
853
                ducfg = get_config_vars()
852
854
853
                if sys.platform == "darwin":
855
                if sys.platform == "darwin":
Lines 858-863 Link Here
858
                      glob.glob("%s/lib/libpython%d.%d*" % (ducfg["exec_prefix"], py_major, py_minor))):
860
                      glob.glob("%s/lib/libpython%d.%d*" % (ducfg["exec_prefix"], py_major, py_minor))):
859
                    lib_dir_flag = quote("-L%s/lib" % ducfg["exec_prefix"])
861
                    lib_dir_flag = quote("-L%s/lib" % ducfg["exec_prefix"])
860
                    link = "%s -lpython%d.%d" % (lib_dir_flag, py_major, py_minor)
862
                    link = "%s -lpython%d.%d" % (lib_dir_flag, py_major, py_minor)
863
                elif ("--enable-shared" in ducfg.get("CONFIG_ARGS", "") ): 
864
                    link = "-L%s -lpython%d.%d" % (get_python_lib(plat_specific=1, standard_lib=1), py_major, py_minor)
865
861
                else:
866
                else:
862
                    sipconfig.inform("Qt Designer plugin disabled because Python library is static")
867
                    sipconfig.inform("Qt Designer plugin disabled because Python library is static")
863
                    opts.designer_plugin = False
868
                    opts.designer_plugin = False

Return to bug 283936