mirror of
https://github.com/Fishwaldo/yocto-meta-kf5.git
synced 2025-03-15 19:51:45 +00:00
Build with the stricter QA checks of latest Yocto
This commit is contained in:
parent
b970bb0633
commit
6160fd304e
2 changed files with 15 additions and 2 deletions
|
@ -12,3 +12,9 @@ S = "${WORKDIR}/git"
|
|||
inherit cmake_kf5
|
||||
inherit gettext
|
||||
inherit python3native
|
||||
|
||||
FILES_${PN}-dev += " \
|
||||
${bindir}/preparetips5 \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-dev += "perl"
|
||||
|
|
|
@ -11,11 +11,18 @@ inherit base
|
|||
S = "${WORKDIR}/git/libraries/liblmdb"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake CC="${CC}" SOEXT=".so.${PV}"
|
||||
oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="-Wl,-soname,lib${PN}.so.${PV}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake CC="${CC}" DESTDIR="${D}" prefix="${prefix}" libprefix="${libdir}" manprefix="${mandir}" SOEXT=".so.${PV}" install
|
||||
oe_runmake CC="${CC}" DESTDIR="${D}" prefix="${prefix}" libprefix="${libdir}" manprefix="${mandir}" SOEXT=".so.${PV}" LDFLAGS="-Wl,-soname,lib${PN}.so.${PV}" install
|
||||
cd ${D}/${libdir}
|
||||
ln -s liblmdb.so.${PV} liblmdb.so
|
||||
rm liblmdb.a
|
||||
}
|
||||
|
||||
FILES_${PN}-dev += " \
|
||||
${bindir}/mdb_* \
|
||||
"
|
||||
|
||||
INSANE_SKIP += "ldflags"
|
||||
|
|
Loading…
Add table
Reference in a new issue