forked from pool/keyutils
b7f837f998
Accepted submit request 67896 from user coolo OBS-URL: https://build.opensuse.org/request/show/67896 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/keyutils?expand=0&rev=13
21 lines
744 B
Diff
21 lines
744 B
Diff
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
|