]> git.feebdaed.xyz Git - 0xmirror/curl.git/commit
lib: create unitprotos.h in the builddir, not srcdir
authorDan Fandrich <dan@coneharvesters.com>
Tue, 16 Dec 2025 07:32:59 +0000 (23:32 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 16 Dec 2025 17:51:06 +0000 (09:51 -0800)
commit5196abad7313dbdfb861ab54dd57d78c81465867
treefb436b17efeedfba6b81c2fb9e7efeeb27e99da2
parent627e32fa12fe94dbbd4302259a979399f2a9a8db
lib: create unitprotos.h in the builddir, not srcdir

The make rule confused automake by changing directories before creating
the file, causing unitprotos.h to be created in the srcdir instead of
the builddir. This results in a stale file and confusing compile errors
in out-of-tree builds.

Fixes #19966
Closes #19993
lib/Makefile.am