mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-13 17:48:10 +08:00
23 lines
509 B
Bash
Executable File
23 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
rm -Rfv linux-host || exit 1
|
|
mkdir -p linux-host || exit 1
|
|
|
|
rm -Rfv linux-build || exit 1
|
|
mkdir -p linux-build || exit 1
|
|
|
|
chmod +x configure || exit 1
|
|
chmod +x builds/unix/install-sh || exit 1
|
|
|
|
srcdir="`pwd`"
|
|
instdir="`pwd`/linux-host"
|
|
|
|
cd linux-build || exit 1
|
|
|
|
opts=
|
|
|
|
../configure "--srcdir=$srcdir" "--prefix=$instdir" --enable-static --disable-shared --with-bzip2=no --with-harfbuzz=no --with-png=no $opts || exit 1
|
|
|
|
make -j || exit 1
|
|
make install || exit 1 # will install into ./linux-host
|
|
|