git: fix build with with no threads
[buildroot-gz.git] / package / libaio / 0003-destdir.patch
blob583a2afa86d2181a28120ab0674e971cff3851f6
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>
8 ---
9 Makefile | 2 +-
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
16 @@ -23,7 +23,7 @@
17 @$(MAKE) -C src
19 install:
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)
23 check:
24 @$(MAKE) -C harness check