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>
This commit is contained in:
Khem Raj 2022-03-19 22:04:19 -07:00
parent 1d0cab196d
commit 20a2bf4484

View File

@ -17,6 +17,8 @@ SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "PLATFORM=linux"
do_configure[noexec] = "1"
do_compile() {
@ -24,7 +26,7 @@ do_compile() {
}
do_install() {
oe_runmake install DESTDIR=${D} PREFIX=${prefix}
oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir}
}
BBCLASSEXTEND = "native nativesdk"