2012-12-16 07:56:20 +01:00
|
|
|
Makefile: fix install rule
|
|
|
|
|
|
|
|
Do not link the .so with an absolute path, otherwise it may point to
|
|
|
|
the host library.
|
|
|
|
|
2014-09-24 10:44:19 +02:00
|
|
|
Based on the former patch by Yann E. MORIN.
|
2012-12-16 07:56:20 +01:00
|
|
|
|
2014-09-24 10:44:19 +02:00
|
|
|
Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com>
|
|
|
|
|
|
|
|
--- keyutils-1.5.9/Makefile.orig 2014-09-22 16:13:41.593562765 +0100
|
|
|
|
+++ keyutils-1.5.9/Makefile 2014-09-22 16:14:05.377963952 +0100
|
|
|
|
@@ -168,7 +168,7 @@ ifeq ($(NO_SOLIB),0)
|
2012-12-16 07:56:20 +01:00
|
|
|
$(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
|
|
|
|
$(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
|
|
|
|
mkdir -p $(DESTDIR)$(USRLIBDIR)
|
|
|
|
- $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
|
|
|
|
+ $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
|
2014-09-24 10:44:19 +02:00
|
|
|
endif
|
2012-12-16 07:56:20 +01:00
|
|
|
$(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl
|
|
|
|
$(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key
|