Blame SOURCES/0022-dmidecode-Add-missing-build-dependencies-on-dmioutpu.patch

fc71ac
From 51bfbe2d5e8728e47f38eb44464f58ad674c4289 Mon Sep 17 00:00:00 2001
fc71ac
From: Jean Delvare <jdelvare@suse.de>
fc71ac
Date: Tue, 7 Apr 2020 11:55:41 +0200
fc71ac
Subject: [PATCH 22/23] dmidecode: Add missing build dependencies on
fc71ac
 dmioutput.h
fc71ac
fc71ac
dmidecode.c and dmioem.c both include dmioutput.h so they must be
fc71ac
rebuilt if that header file changes.
fc71ac
fc71ac
Signed-off-by: Jean Delvare <jdelvare@suse.de>
fc71ac
---
fc71ac
 Makefile | 4 ++--
fc71ac
 1 file changed, 2 insertions(+), 2 deletions(-)
fc71ac
fc71ac
diff --git a/Makefile b/Makefile
fc71ac
index 97a1782fde3f..194a523bdb46 100644
fc71ac
--- a/Makefile
fc71ac
+++ b/Makefile
fc71ac
@@ -78,13 +78,13 @@ vpddecode : vpddecode.o vpdopt.o util.o
fc71ac
 #
fc71ac
 
fc71ac
 dmidecode.o : dmidecode.c version.h types.h util.h config.h dmidecode.h \
fc71ac
-	      dmiopt.h dmioem.h
fc71ac
+	      dmiopt.h dmioem.h dmioutput.h
fc71ac
 	$(CC) $(CFLAGS) -c $< -o $@
fc71ac
 
fc71ac
 dmiopt.o : dmiopt.c config.h types.h util.h dmidecode.h dmiopt.h
fc71ac
 	$(CC) $(CFLAGS) -c $< -o $@
fc71ac
 
fc71ac
-dmioem.o : dmioem.c types.h dmidecode.h dmioem.h
fc71ac
+dmioem.o : dmioem.c types.h dmidecode.h dmioem.h dmioutput.h
fc71ac
 	$(CC) $(CFLAGS) -c $< -o $@
fc71ac
 
fc71ac
 dmioutput.o : dmioutput.c types.h dmioutput.h
fc71ac
-- 
fc71ac
2.17.1
fc71ac