Skip to content
Snippets Groups Projects
  • Glenn Johnson's avatar
    c1284a90
    Stop python from linking with system ncurses (#1672) · c1284a90
    Glenn Johnson authored
    Python will look to link with libncursesw in preference to libncurses. Since
    ncurses in spack is built without suffixes there is no libncursesw and
    python will link to the system libncursesw for _curses.so and
    _curses_panel.so, as well as libpanelw for _curses_panel.so.
    
    This PR introduces a patch that simple removes the check for ncursesw in
    setup.py and therefore sets `curses_library` to `ncurses`.
    c1284a90
    History
    Stop python from linking with system ncurses (#1672)
    Glenn Johnson authored
    Python will look to link with libncursesw in preference to libncurses. Since
    ncurses in spack is built without suffixes there is no libncursesw and
    python will link to the system libncursesw for _curses.so and
    _curses_panel.so, as well as libpanelw for _curses_panel.so.
    
    This PR introduces a patch that simple removes the check for ncursesw in
    setup.py and therefore sets `curses_library` to `ncurses`.