Skip to content

Commit

Permalink
ncurses: add "util" from libc as a system dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 24, 2023
1 parent 951bd18 commit c1ebacf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/ncurses/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ def _add_component(name, lib_name=None, requires=None):
self.cpp_info.components["libcurses"].requires += ["tinfo"]
if self.options.with_cxx:
_add_component("curses++", lib_name="ncurses++", requires=["libcurses"])
if self.settings.os in ["Linux", "FreeBSD"]:
self.cpp_info.components["libcurses++"].system_libs += ["util"]
if self.options.with_ticlib:
_add_component("ticlib", lib_name="tic", requires=["libcurses"])

Expand Down

0 comments on commit c1ebacf

Please sign in to comment.