Module: kamailio
Branch: 6.0
Commit: 959ccfb762f1643ebfc9a57b12e8e7e0df2e7aba
URL: 
https://github.com/kamailio/kamailio/commit/959ccfb762f1643ebfc9a57b12e8e7e0df2e7aba

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

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

* don't call bison twice

Fix #4337

(cherry picked from commit d3e71874cf39c9ab50af293d647754bb589d0612)

---

Modified: src/Makefile

---

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

---

diff --git a/src/Makefile b/src/Makefile
index 4ba662535bb..744b1e15e1b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -261,7 +261,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