diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-19 21:56:55 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-21 08:25:11 -0700 |
commit | 1d0cab196d45a3b287cd0e3d1c835e132a476a2a (patch) | |
tree | a032c107aded8662fa207d6217fbdcffe6aabd2f | |
parent | 90c3d0c8efa69781d12770d6b88811e3ee93b1de (diff) | |
download | meta-openembedded-1d0cab196d45a3b287cd0e3d1c835e132a476a2a.tar.gz |
liburing: Define libdir based on environment variable
default variable is set to hardcode 'lib' which may not be right for all
platforms
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/liburing/liburing_2.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/liburing/liburing_2.1.bb b/meta-oe/recipes-support/liburing/liburing_2.1.bb index 90efa573f3..da8e6d3338 100644 --- a/meta-oe/recipes-support/liburing/liburing_2.1.bb +++ b/meta-oe/recipes-support/liburing/liburing_2.1.bb | |||
@@ -24,8 +24,8 @@ XCFLAGS:append:libc-musl = " -lucontext" | |||
24 | 24 | ||
25 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'" | 25 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'" |
26 | do_configure() { | 26 | do_configure() { |
27 | ${S}/configure --prefix=${prefix} | 27 | ${S}/configure --prefix=${prefix} --libdir=${libdir} --libdevdir=${libdir} --mandir=${mandir} --datadir=${datadir} --includedir=${includedir} |
28 | } | 28 | } |
29 | do_install () { | 29 | do_install () { |
30 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} | 30 | oe_runmake install DESTDIR=${D} |
31 | } | 31 | } |