build: fix VPATH builds with --enable-single-binary

* src/local.mk: Adjust the dependency so that speedlist.h
is built irrespective of the object file name.
Note we could use BUILT_SOURCES for this,
but it's better to have this more accurate dependency.
This commit is contained in:
Pádraig Brady committed 2025-06-30 16:03:44 +01:00
1 parent 87dcd447b1
commit 017fc50bb6
1 file changed
+1 -1
+1 -1
View File
@@ -718,7 +718,7 @@ src/speedlist.h: src/termios.c lib/config.h src/speedgen
$(AM_V_at)chmod a-w $@t
$(AM_V_at)mv $@t $@
src/stty.$(OBJEXT): src/speedlist.h
src/stty.c: src/speedlist.h
# Generates a list of macro invocations like:
# SINGLE_BINARY_PROGRAM(program_name_str, main_name)