tar xzf libpng-1.5.22.tar.gzcd libpng-1.5.22mkdir tmp打开Makefile文件并修改CC=arm-linux-gcc./configure --prefix=$PWD/tmpmakemake install