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