diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-19 22:04:19 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-21 08:25:11 -0700 |
commit | 20a2bf4484d5bb70b76d87de012215a1cb059325 (patch) | |
tree | b5355eaf1e34cc19d3fa3799fe3c3fbfce03c57b | |
parent | 1d0cab196d45a3b287cd0e3d1c835e132a476a2a (diff) | |
download | meta-openembedded-20a2bf4484d5bb70b76d87de012215a1cb059325.tar.gz |
http-parser: Define LIBDIR
LIBDIR is otherwise hardcoded to PREFIX/lib which is not correct for all
platforms. define PLATFORM explicitly, otherwise it pokes at build
system for it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb index 122dfc0001..d4f76850d3 100644 --- a/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb +++ b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb | |||
@@ -17,6 +17,8 @@ SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd" | |||
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | 19 | ||
20 | EXTRA_OEMAKE = "PLATFORM=linux" | ||
21 | |||
20 | do_configure[noexec] = "1" | 22 | do_configure[noexec] = "1" |
21 | 23 | ||
22 | do_compile() { | 24 | do_compile() { |
@@ -24,7 +26,7 @@ do_compile() { | |||
24 | } | 26 | } |
25 | 27 | ||
26 | do_install() { | 28 | do_install() { |
27 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} | 29 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} |
28 | } | 30 | } |
29 | 31 | ||
30 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |