aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Wiese <morfoh@opensde.org>2008-02-22 23:05:45 -0800
committerAndrew G. Morgan <morgan@kernel.org>2008-02-22 23:05:45 -0800
commit5e85b376a6a707518975d9797a5bce828e847a2a (patch)
tree8c2253ffe46cfcc9ff371f37641c4447cbfe96d4
parentb1759d812ce05bf126e49b3f8e57481ba96735c7 (diff)
downloadlibcap-5e85b376a6a707518975d9797a5bce828e847a2a.tar.gz
Fix libcap to build while using more than one make job
Fixes build issues while using more than one make job, assuring that cap_names.h is generated before compiling cap_text.c. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--libcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/Makefile b/libcap/Makefile
index 09a12d2..c86d765 100644
--- a/libcap/Makefile
+++ b/libcap/Makefile
@@ -51,7 +51,7 @@ $(MINLIBNAME): $(OBJS)
%.o: %.c $(INCLS)
$(CC) $(CFLAGS) -c $< -o $@
-cap_text.o: cap_text.c $(USE_GPERF_OUTPUT)
+cap_text.o: cap_text.c $(USE_GPERF_OUTPUT) $(INCLS)
$(CC) $(CFLAGS) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@
install: all