mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-30 14:38:36 +00:00
Do not generate Phar utilities by default, only generate extension
This commit is contained in:
parent
e246e10a82
commit
a817234aa8
@ -51,11 +51,11 @@ while getopts "t:oj:cxf::" OPTION; do
|
|||||||
case $OPTION in
|
case $OPTION in
|
||||||
t)
|
t)
|
||||||
echo "[opt] Set target to $OPTARG"
|
echo "[opt] Set target to $OPTARG"
|
||||||
COMPILE_TARGET=$OPTARG
|
COMPILE_TARGET="$OPTARG"
|
||||||
;;
|
;;
|
||||||
j)
|
j)
|
||||||
echo "[opt] Set make threads to $OPTARG"
|
echo "[opt] Set make threads to $OPTARG"
|
||||||
THREADS=$OPTARG
|
THREADS="$OPTARG"
|
||||||
;;
|
;;
|
||||||
o)
|
o)
|
||||||
echo "[opt] Will compile OpenSSL"
|
echo "[opt] Will compile OpenSSL"
|
||||||
@ -476,10 +476,8 @@ echo -n " compiling..."
|
|||||||
if [ "$COMPILE_FOR_ANDROID" == "yes" ]; then
|
if [ "$COMPILE_FOR_ANDROID" == "yes" ]; then
|
||||||
sed -i=".backup" 's/-export-dynamic/-all-static/g' Makefile
|
sed -i=".backup" 's/-export-dynamic/-all-static/g' Makefile
|
||||||
fi
|
fi
|
||||||
if [ "$IS_CROSSCOMPILE" == "yes" ]; then
|
|
||||||
sed -i=".backup" 's/PHP_BINARIES. pharcmd$/PHP_BINARIES)/g' Makefile
|
sed -i=".backup" 's/PHP_BINARIES. pharcmd$/PHP_BINARIES)/g' Makefile
|
||||||
sed -i=".backup" 's/install-programs install-pharcmd$/install-programs/g' Makefile
|
sed -i=".backup" 's/install-programs install-pharcmd$/install-programs/g' Makefile
|
||||||
fi
|
|
||||||
make -j $THREADS >> "$DIR/install.log" 2>&1
|
make -j $THREADS >> "$DIR/install.log" 2>&1
|
||||||
echo -n " installing..."
|
echo -n " installing..."
|
||||||
make install >> "$DIR/install.log" 2>&1
|
make install >> "$DIR/install.log" 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user