summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-19 22:04:19 -0700
committerKhem Raj <raj.khem@gmail.com>2022-03-21 08:25:11 -0700
commit20a2bf4484d5bb70b76d87de012215a1cb059325 (patch)
treeb5355eaf1e34cc19d3fa3799fe3c3fbfce03c57b
parent1d0cab196d45a3b287cd0e3d1c835e132a476a2a (diff)
downloadmeta-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.bb4
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
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20EXTRA_OEMAKE = "PLATFORM=linux"
21
20do_configure[noexec] = "1" 22do_configure[noexec] = "1"
21 23
22do_compile() { 24do_compile() {
@@ -24,7 +26,7 @@ do_compile() {
24} 26}
25 27
26do_install() { 28do_install() {
27 oe_runmake install DESTDIR=${D} PREFIX=${prefix} 29 oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir}
28} 30}
29 31
30BBCLASSEXTEND = "native nativesdk" 32BBCLASSEXTEND = "native nativesdk"