SHA256
1
0
forked from pool/keyutils
keyutils/parallel-make.patch

22 lines
771 B
Diff

Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -125,13 +125,13 @@ keyutils.os: keyutils.c keyutils.h Makef
%.o: %.c keyutils.h Makefile
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
-keyctl: keyctl.o -lkeyutils
+keyctl: keyctl.o $(DEVELLIB)
$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils
-request-key: request-key.o -lkeyutils
+request-key: request-key.o $(DEVELLIB)
$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils
-key.dns_resolver: key.dns_resolver.o -lkeyutils
+key.dns_resolver: key.dns_resolver.o $(DEVELLIB)
$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils -lresolv
###############################################################################