Module: kamailio
Branch: 5.5
Commit: c2cb540a2a1819e203854c54e2bcd04cd7f0d966
URL:
https://github.com/kamailio/kamailio/commit/c2cb540a2a1819e203854c54e2bcd04…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-12-14T08:40:15Z
utils/kamcmd: add missing USE_READLINE define for pkg-config build, related to #3284
(cherry picked from commit a70b6bf09c73d961ebea1947216757fafb951c24)
(cherry picked from commit 6ca691df40134abf53feb5d785c90618dcfa5c05)
---
Modified: utils/kamcmd/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/c2cb540a2a1819e203854c54e2bcd04…
Patch:
https://github.com/kamailio/kamailio/commit/c2cb540a2a1819e203854c54e2bcd04…
---
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