MT#56147 kamcmd fix autocompletion

Change-Id: I31f2cc498b1ee250b12120bd0d86d7a7cd29ea93
mr11.2
Victor Seva 3 years ago
parent 6930119dae
commit caee04e7ae

@ -32,7 +32,7 @@ sipwise/sca-debug.patch
sipwise/sca-fix-notify-after-bye.patch sipwise/sca-fix-notify-after-bye.patch
sipwise/sca-add-pai_avp-parameter.patch sipwise/sca-add-pai_avp-parameter.patch
## upstream 5.6 ## upstream 5.6
# upstream/utils-kamcmd-add-missing-USE_READLINE-define-for-pkg.patch
## upstream master ## upstream master
upstream/dialog-dlg_get_var-ci-ft-tt-key-dst_var.patch upstream/dialog-dlg_get_var-ci-ft-tt-key-dst_var.patch
upstream/dialog-dlg_set_var-callid-ft-tt-key-value.patch upstream/dialog-dlg_set_var-callid-ft-tt-key-value.patch

@ -0,0 +1,22 @@
From: Henning Westerholt <hw@gilawa.com>
Date: Wed, 14 Dec 2022 08:38:12 +0000
Subject: [PATCH] utils/kamcmd: add missing USE_READLINE define for pkg-config
build, related to #3284
(cherry picked from commit a70b6bf09c73d961ebea1947216757fafb951c24)
---
utils/kamcmd/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/kamcmd/Makefile b/utils/kamcmd/Makefile
index f12306b..1fd923d 100644
--- a/utils/kamcmd/Makefile
+++ b/utils/kamcmd/Makefile
@@ -80,6 +80,7 @@ endif
# detect libreadline
ifneq ($(BUILDER),)
DEFS += $(shell $(BUILDER) --cflags readline)
+ DEFS+=-DUSE_READLINE
LIBS += $(shell $(BUILDER) --libs readline)
use_readline := 1
else
Loading…
Cancel
Save