diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-08-14 21:17:25 +0000 |
---|---|---|
committer | Jeff Moyer <jmoyer@redhat.com> | 2018-10-22 14:43:14 -0400 |
commit | 4059161333a14a0c705efecc5765b6cb2a29ae02 (patch) | |
tree | 6c5ee2ab51dd278c1b4cf058f4019585c800ffa1 | |
parent | 970196192771eeda39fabcc59a5dae9613e871a8 (diff) | |
download | libaio-4059161333a14a0c705efecc5765b6cb2a29ae02.tar.gz |
Makefile: add missing DESTDIR variable use
Patch borrowed from OpenEmbedded, available at
recipes/libaio/libaio-0.3.106/destdir.patch in their source tree.
It just adds support for the traditional DESTDIR variable to install
the library in a different sysroot than the normal /.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[JEM: I couldn't verify the initial author of this change, but it's
trivial. For information on the DESTDIR convention, see:
https://www.gnu.org/prep/standards/html_node/DESTDIR.html]
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ all: @$(MAKE) -C src install: - @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir) + @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) check: @$(MAKE) -C harness check |