summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-02-07 15:42:12 +0100
committerJens Axboe <axboe@kernel.dk>2020-02-07 09:24:28 -0700
commit3e63af4f252e1dfc2cb736863d8db4a3821f48e4 (patch)
tree533fc6035a1eec7310e6267dc5bf2889bfbb5993 /Makefile
parente93e3414cc21374fa82584d3aa4838851aa1a46e (diff)
downloadliburing-3e63af4f252e1dfc2cb736863d8db4a3821f48e4.tar.gz
liburing-3e63af4f252e1dfc2cb736863d8db4a3821f48e4.tar.bz2
Fix liburing.so symlink source if libdir != libdevdir
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b582f1..05d5879 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,11 @@ endif
$< >$@
install: $(NAME).pc
- @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) libdevdir=$(DESTDIR)$(libdevdir)
+ @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) \
+ includedir=$(DESTDIR)$(includedir) \
+ libdir=$(DESTDIR)$(libdir) \
+ libdevdir=$(DESTDIR)$(libdevdir) \
+ relativelibdir=$(relativelibdir)
$(INSTALL) -D -m 644 $(NAME).pc $(DESTDIR)$(libdevdir)/pkgconfig/$(NAME).pc
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man2
$(INSTALL) -m 644 man/*.2 $(DESTDIR)$(mandir)/man2