1 Patch borrowed from OpenEmbedded, available at
2 recipes/libaio/libaio-0.3.106/destdir.patch in their source tree.
4 It just adds support for the traditional DESTDIR variable to install
5 the library in a different sysroot than the normal /.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 Index: libaio-0.3.109/Makefile
13 ===================================================================
14 --- libaio-0.3.109.orig/Makefile
15 +++ libaio-0.3.109/Makefile
20 - @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir)
21 + @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir)
24 @$(MAKE) -C harness check