NetworkManager/NetworkManager-1.20.2-readline-termcap.patch

12 lines
491 B
Diff

--- NetworkManager-1.20.2/meson.build.orig 2019-09-07 14:46:31.521000000 +0200
+++ NetworkManager-1.20.2/meson.build 2019-09-07 14:46:43.328000000 +0200
@@ -646,7 +646,7 @@
if enable_nmcli
# FIXME: check for readline
# AX_LIB_READLINE
- readline_dep = declare_dependency(link_args: '-lreadline')
+ readline_dep = declare_dependency(link_args: ['-lreadline','-ltermcap'])
'''
foreach readline_lib: ['-lreadline', '-ledit', '-leditline']
if not is_variable('readline_dep')