Module: kamailio
Branch: master
Commit: d3e71874cf39c9ab50af293d647754bb589d0612
URL: 
https://github.com/kamailio/kamailio/commit/d3e71874cf39c9ab50af293d647754bb589d0612

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

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

* don't call bison twice

Fix #4337

---

Modified: src/Makefile

---

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

---

diff --git a/src/Makefile b/src/Makefile
index 53c511e4c0e..789e35b55d2 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