16 lines
380 B
Bash
Executable File
16 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# PHYSFS dependency
|
|
cd /app
|
|
git clone -b stable-3.0 "https://github.com/icculus/physfs.git"
|
|
cd physfs && mkdir build && cd build
|
|
cmake ..
|
|
make -j $(nproc)
|
|
sudo make install
|
|
|
|
#sudo cp /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/.
|
|
rm /usr/lib/x86_64-linux-gnu/libphysfs.a
|
|
sudo ln -s /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/libphysfs.a
|
|
|
|
cd ../..
|