board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / keyutils / 0002-fix-install-rule.patch
blob3670d28e667364f0c2f4e284b108af7beb070f4e
1 Makefile: fix install rule
3 Do not link the .so with an absolute path, otherwise it may point to
4 the host library.
6 Based on the former patch by Yann E. MORIN.
8 Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com>
10 --- keyutils-1.5.9/Makefile.orig 2014-09-22 16:13:41.593562765 +0100
11 +++ keyutils-1.5.9/Makefile 2014-09-22 16:14:05.377963952 +0100
12 @@ -168,7 +168,7 @@ ifeq ($(NO_SOLIB),0)
13 $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
14 $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
15 mkdir -p $(DESTDIR)$(USRLIBDIR)
16 - $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
17 + $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
18 endif
19 $(INSTALL) -D keyctl $(DESTDIR)$(BINDIR)/keyctl
20 $(INSTALL) -D request-key $(DESTDIR)$(SBINDIR)/request-key