08e4111411
Refresh patch 0001. Drop patch 0003; no longer needed after upstream headers rearrange. Add license hash. Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
809 B
Diff
23 lines
809 B
Diff
Makefile: fix install rule
|
|
|
|
Do not link the .so with an absolute path, otherwise it may point to
|
|
the host library.
|
|
|
|
Based on the former patch by Yann E. MORIN.
|
|
|
|
Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com>
|
|
[baruch: update for 1.6]
|
|
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
|
|
|
--- 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
|
|
@@ -184,7 +184,7 @@ ifeq ($(NO_SOLIB),0)
|
|
$(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)
|
|
sed \
|
|
-e 's,@VERSION\@,$(VERSION),g' \
|
|
-e 's,@prefix\@,$(PREFIX),g' \
|