Package: jhead / 1:3.06.0.1-2

fix_parallel_build Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Joachim Reichel <reichel@debian.org>
Description: Fix missing dependency for parallel builds
Bug: https://github.com/Matthias-Wandel/jhead/issues/38

Index: jhead-3.06.0.1/makefile
===================================================================
--- jhead-3.06.0.1.orig/makefile
+++ jhead-3.06.0.1/makefile
@@ -14,7 +14,7 @@ objdir:
 objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/jpgqguess.o $(OBJ)/paths.o \
 	$(OBJ)/exif.o $(OBJ)/iptc.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o 
 
-$(OBJ)/%.o:$(SRC)/%.c
+$(OBJ)/%.o:$(SRC)/%.c objdir
 	${CC} $(CFLAGS) -c $< -o $@
 
 jhead: $(objs) jhead.h