Module: kamailio
Branch: 5.8
Commit: e3da08394e6f3ae89c41c86da419e07670cbc57f
URL: 
https://github.com/kamailio/kamailio/commit/e3da08394e6f3ae89c41c86da419e07670cbc57f

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2025-07-24T19:24:52+02:00

Makefile: fix dependency of core/cfg.tab.c rule

* don't call bison twice

Fix #4337

(cherry picked from commit d3e71874cf39c9ab50af293d647754bb589d0612)
(cherry picked from commit 959ccfb762f1643ebfc9a57b12e8e7e0df2e7aba)

---

Modified: src/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/e3da08394e6f3ae89c41c86da419e07670cbc57f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e3da08394e6f3ae89c41c86da419e07670cbc57f.patch

---

diff --git a/src/Makefile b/src/Makefile
index 28106b06852..bdec9afcea3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -260,7 +260,8 @@ $(NAME): $(extra_objs) # static_modules
 core/lex.yy.c: core/cfg.lex core/cfg.tab.h $(ALLDEP)
        $(LEX) -o core/lex.yy.c $<
 
-core/cfg.tab.c core/cfg.tab.h: core/cfg.y  $(ALLDEP)
+core/cfg.tab.c: core/cfg.tab.h
+core/cfg.tab.h: core/cfg.y  $(ALLDEP)
        $(YACC) $(YACC_FLAGS) $<
 
 nullstring=

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to