fsverity-utils: Define LIBDIR

This helps make it platform independent since some platforms e.g. ppc64
uses lib64 for system libpaths

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-03-20 00:41:10 -07:00
parent cb4f9b91de
commit 4b46afe54e

View File

@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
DEPENDS = "openssl"
EXTRA_OEMAKE:append = "PREFIX=${prefix} USE_SHARED_LIB=1"
EXTRA_OEMAKE:append = "PREFIX=${prefix} LIBDIR=${libdir} USE_SHARED_LIB=1"
# We want to statically link the binary to libfsverity on native Windows
EXTRA_OEMAKE:remove:mingw32:class-nativesdk = "USE_SHARED_LIB=1"
EXTRA_OEMAKE:remove:mingw32:class-native = "USE_SHARED_LIB=1"