]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-multilib.patch
- added BLDLIBRARY patch (drop "-L." from BLDLIBRARY config variable)
[packages/python3.git] / python3-multilib.patch
index 96fafe68d6525354afa7ed95c01e6786a784d6df..d54c5919d1ce68aae3acb0a888800566257e2fd7 100644 (file)
@@ -49,10 +49,10 @@ diff -dur Python-3.5.0.orig/Lib/distutils/sysconfig.py Python-3.5.0/Lib/distutil
              prefix = plat_specific and EXEC_PREFIX or PREFIX
  
      if os.name == "posix":
-+        if plat_specific:
++        if plat_specific or standard_lib or prefix != "/usr":
 +            lib = sys.lib
 +        else:
-+            lib = 'share'
++            lib = "share"
          libpython = os.path.join(prefix,
 -                                 "lib", "python" + get_python_version())
 +                                 lib, "python" + get_python_version())
This page took 0.094071 seconds and 4 git commands to generate.