tar xzf libpng-1.5.22.tar.gz
cd libpng-1.5.22
mkdir tmp
打开Makefile文件并修改CC=arm-linux-gcc
./configure --prefix=$PWD/tmp
make
make install
tar xzf libpng-1.5.22.tar.gz
cd libpng-1.5.22
mkdir tmp
打开Makefile文件并修改CC=arm-linux-gcc
./configure --prefix=$PWD/tmp
make
make install
转载于:https://www.cnblogs.com/CZM-/p/5730763.html