Ticket #13252: mythplugins-configure-mythroot-20180515a.patch
File mythplugins-configure-mythroot-20180515a.patch, 527 bytes (added by , 7 years ago) |
---|
-
mythplugins/configure
diff --git a/mythplugins/configure b/mythplugins/configure index 941d15de8e..54d4e0bfde 100755
a b check_py_lib(){ 477 477 check_cmd $python <<EOF 478 478 from distutils.sysconfig import get_python_lib 479 479 import sys 480 sys.path.append(get_python_lib(prefix='${prefix}')) 480 if '${mythroot}' != '${sysroot}': 481 sys.path.append(get_python_lib(prefix='${mythroot}${prefix}')) 482 sys.path.append(get_python_lib(prefix='${sysroot}${prefix}')) 481 483 try: 482 484 import $lib 483 485 except: