mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
bearssl: fix missing install
Default Makefile of bearssl doesn't have a make target which hadn't enough attraction when creating the recipe. Add missing functionality. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -18,6 +18,8 @@ HOMEPAGE = "https://bearssl.org"
|
||||
|
||||
SECTION = "libs"
|
||||
|
||||
inherit lib_package
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fc37e1037ae673975fbcb96a98f7191"
|
||||
|
||||
@@ -33,3 +35,11 @@ CFLAGS += "-fPIC"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${S}"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/${bindir} ${D}/${libdir}
|
||||
install -m 0644 ${B}/build/brssl ${D}/${bindir}
|
||||
install -m 0644 ${B}/build/libbearssl.so ${D}/${libdir}/libbearssl.so.6.0.0
|
||||
ln -s libbearssl.so.6.0.0 ${D}/${libdir}/libbearssl.so.6
|
||||
ln -s libbearssl.so.6.0.0 ${D}/${libdir}/libbearssl.so
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user