Ticket #51094: mk_util.py.diff

File mk_util.py.diff, 739 bytes (added by AlshammariA, 8 years ago)
  • scripts/mk_util.py

    old new  
    629629            SLOW_OPTIMIZE = True
    630630        elif not IS_WINDOWS and opt in ('-p', '--prefix'):
    631631            PREFIX = arg
    632             PYTHON_PACKAGE_DIR = os.path.join(PREFIX, 'lib', 'python%s' % distutils.sysconfig.get_python_version(), 'dist-packages')
     632            # PYTHON_PACKAGE_DIR = os.path.join(PREFIX, 'lib', 'python%s' % distutils.sysconfig.get_python_version(), 'dist-packages')
     633            PYTHON_PACKAGE_DIR = "@PYTHON_PACKAGE_DIR@"
    633634            mk_dir(PYTHON_PACKAGE_DIR)
    634635            if sys.version >= "3":
    635636                mk_dir(os.path.join(PYTHON_PACKAGE_DIR, '__pycache__'))