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

05-11 10:54