source: trunk/dports/devel/libftdi/files/patch-python-CMakeLists.txt.diff @ 135786

Last change on this file since 135786 was 135786, checked in by snc@…, 4 years ago

libftdi1: fix python2.7 module install path, #47601

File size: 676 bytes
  • python/CMakeLists.txt

    old new  
    3434
    3535  set_target_properties ( ${SWIG_MODULE_ftdi1_REAL_NAME} PROPERTIES NO_SONAME ON )
    3636
    37   execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print( sysconfig.get_python_lib( plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}' ) )"
     37  execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print( sysconfig.get_python_lib( plat_specific=True ) )"
    3838                    OUTPUT_VARIABLE _ABS_PYTHON_MODULE_PATH
    3939                    OUTPUT_STRIP_TRAILING_WHITESPACE )
    4040
Note: See TracBrowser for help on using the repository browser.