bfb747de96
With multilib, we may want to install under lib64 but the rust libraries get published in the build sysroot under the libdir for the build machine which is usually just lib. Support these being different.
25 lines
503 B
BlitzBasic
25 lines
503 B
BlitzBasic
SUMMARY = "Rust runtime libaries"
|
|
HOMEPAGE = "http://www.rust-lang.org"
|
|
SECTION = "devel"
|
|
LICENSE = "MIT | Apache-2.0"
|
|
|
|
inherit rust-bin
|
|
|
|
DEPENDS += "virtual/${TARGET_PREFIX}rust"
|
|
RUSTLIB_DEP = ""
|
|
|
|
do_install () {
|
|
for f in ${STAGING_DIR_NATIVE}/${rustlib_src}/*.so; do
|
|
echo Installing $f
|
|
install -D -m 755 $f ${D}/${rustlib}/$(basename $f)
|
|
done
|
|
}
|
|
|
|
# This has no license file
|
|
python do_qa_configure() {
|
|
return True
|
|
}
|
|
|
|
FILES_${PN} += "${rustlib}/*.so"
|
|
FILES_${PN}-dbg += "${rustlib}/.debug"
|