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"
作者:柒月
Q群 :2122210(嵌入式/机器学习)