Index: keyutils-1.4/Makefile =================================================================== --- keyutils-1.4.orig/Makefile +++ keyutils-1.4/Makefile @@ -72,11 +72,11 @@ keyutils.os: keyutils.c keyutils.h Makef $(CC) $(CFLAGS) -fPIC -o $@ -c $< -keyctl: keyctl.c keyutils.h Makefile - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB) +keyctl: keyctl.c keyutils.h Makefile $(DEVELLIB) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -request-key: request-key.c keyutils.h Makefile - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB) +request-key: request-key.c keyutils.h Makefile $(DEVELLIB) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils MAN1 := $(DESTDIR)/usr/share/man/man1