]> git.ipfire.org Git - thirdparty/kea.git/commit
[#1743] fix circular dependency in src/lib/log
authorAndrei Pavel <andrei@isc.org>
Mon, 8 Apr 2024 14:59:38 +0000 (17:59 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 17 Apr 2024 11:53:39 +0000 (14:53 +0300)
commit0f71c39365ddcce631332f75ad606f45d346633b
treecb4ee702c83ba39fdd41ef7443567d33b6c6e5b5
parent809f8ad9f81ffe35a24029bbb4de0b7a37984569
[#1743] fix circular dependency in src/lib/log

Fixes the problem where to generate log_messages.(cc|h), you need
kea-msg-compiler, but to compile kea-msg-compiler you need
log_messages.(cc|h). This halted compilation even when building
from scratch.

Simply only regenerate log_messages.(cc|h) only if kea-msg-compiler
exists. It will not regenerate the files on first pass, but one can
explicitly call `make messages -C src/lib/log` afterwards to regenerate
the files.
src/lib/log/Makefile.am