Module: kamailio
Branch: 5.6
Commit: 6ca691df40134abf53feb5d785c90618dcfa5c05
URL:
https://github.com/kamailio/kamailio/commit/6ca691df40134abf53feb5d785c9061…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-12-14T08:39:56Z
utils/kamcmd: add missing USE_READLINE define for pkg-config build, related to #3284
(cherry picked from commit a70b6bf09c73d961ebea1947216757fafb951c24)
---
Modified: utils/kamcmd/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/6ca691df40134abf53feb5d785c9061…
Patch:
https://github.com/kamailio/kamailio/commit/6ca691df40134abf53feb5d785c9061…
---
diff --git a/utils/kamcmd/Makefile b/utils/kamcmd/Makefile
index f12306bf1e..1fd923d855 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