QA Issue: No GNU_HASH in the elf binary

解决方法:

do_install() {
    install -d ${D}${libdir}
    cp -a --no-preserve=ownership ${S}/libsample.so.3.5 ${D}${libdir}
    ln -sf libsample.so.3.5  ${D}${libdir}/libsample.so.3

#For dev packages only
    ln -sf libsample.so.3  ${D}${libdir}/libsample.so
}

FILES_${PN} = "${libdir}/*.so.*"

#For dev packages only
FILES_${PN}-dev = "${libdir}/*.so"

INSANE_SKIP_${PN} = "ldflags"

#For dev packages only
INSANE_SKIP_${PN}-dev = "ldflags"

 

posted @ 2020-06-15 16:49  瘋耔  阅读(1282)  评论(0编辑  收藏  举报
跳至侧栏