minecraft-pi-docker/build/build-libpng12.sh

16 lines
233 B
Bash
Raw Normal View History

2020-09-25 16:43:53 +00:00
#!/bin/sh
set -e
git clone --depth 1 https://git.code.sf.net/p/libpng/code libpng -b libpng12
cd libpng
./configure --host arm-linux-gnueabihf --prefix /usr/arm-linux-gnueabihf
make -j$(nproc)
make install
cd ../
rm -rf libpng