minecraft-pi-docker/build/build-libpng12.sh
2020-09-26 23:15:53 -04:00

16 lines
233 B
Bash
Executable File

#!/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