]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: fix VPATH builds with --enable-single-binary
authorPádraig Brady <P@draigBrady.com>
Mon, 30 Jun 2025 14:34:22 +0000 (15:34 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 30 Jun 2025 15:03:44 +0000 (16:03 +0100)
* 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.

src/local.mk

index 20094395480ddb00d46ae75a8e0a1829f64066d1..537032578fc7efeb414f76ed9c83792876e5d4ac 100644 (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)