在国产飞腾CPU kylin环境下 源码编译zbar

问题一

解决办法,
配置时添加 --build=arm-linux
./configure --prefix=$(pwd)/output --build=arm-linux --enable-shared --enable-static --without-imagemagick --without-jpeg --without-python --without-gtk --without-qt --disable-video

问题二

解决办法
export CFLAG="" 将此置空

编译静态 MAKEFILE

参考:
https://www.jianshu.com/p/9034ee21bc02
https://blog.csdn.net/hebbely/article/details/53993141
https://blog.csdn.net/KayChanGEEK/article/details/78758817

posted @ 2021-11-18 13:44  三思熟虑  阅读(172)  评论(0)    收藏  举报