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

19 lines
236 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
2021-02-21 19:53:17 +00:00
./configure
2020-09-25 16:43:53 +00:00
make -j$(nproc)
2021-02-21 19:53:17 +00:00
mkdir -p ../minecraft-pi/lib
cp -L .libs/libpng12.so.0 ../minecraft-pi/lib
2020-09-25 16:43:53 +00:00
cd ../
2020-11-26 02:17:40 +00:00
2020-09-25 16:43:53 +00:00
rm -rf libpng