You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
589 B

  1. --- a/SConstruct
  2. +++ b/SConstruct
  3. @@ -874,6 +874,10 @@ else:
  4. ncurseslibs += pkg_config('tinfo', rpath_hack=True)
  5. # It's not yet known whether rpath_hack is appropriate for
  6. # ncurses5-config.
  7. + elif WhereIs('ncurses6-config'):
  8. + ncurseslibs = ['!ncurses6-config --libs --cflags']
  9. + elif WhereIs('ncursesw6-config'):
  10. + ncurseslibs = ['!ncursesw6-config --libs --cflags']
  11. elif WhereIs('ncurses5-config'):
  12. ncurseslibs = ['!ncurses5-config --libs --cflags']
  13. elif WhereIs('ncursesw5-config'):