mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pw-cli: Work without readline too
Build and install pw-cli using getline() (standardized in POSIX.1-2008) if readline is not found.
This commit is contained in:
parent
b9fa0e6f28
commit
671fc51d27
3 changed files with 41 additions and 12 deletions
|
|
@ -17,13 +17,11 @@ foreach t : tools_sources
|
|||
)
|
||||
endforeach
|
||||
|
||||
if readline_dep.found()
|
||||
executable('pw-cli',
|
||||
'pw-cli.c',
|
||||
install: true,
|
||||
dependencies: [pipewire_dep, readline_dep]
|
||||
)
|
||||
endif
|
||||
executable('pw-cli',
|
||||
'pw-cli.c',
|
||||
install: true,
|
||||
dependencies: [pipewire_dep, readline_dep]
|
||||
)
|
||||
|
||||
if ncurses_dep.found()
|
||||
executable('pw-top',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue