mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Update compile-php.sh
This commit is contained in:
parent
8b9251bb3a
commit
cae4e23872
@ -27,6 +27,6 @@ cd $php_dir && \
|
||||
$self_dir/check-extensions.sh check_after_configure && \
|
||||
sed -ie 's/-export-dynamic//g' "Makefile" && \
|
||||
sed -ie 's/-o $(SAPI_CLI_PATH)/-all-static -o $(SAPI_CLI_PATH)/g' "Makefile" && \
|
||||
make LDFLAGS=-ldl -j4 && \
|
||||
make LDFLAGS=-ldl -j$(cat /proc/cpuinfo | grep processor | wc -l) && \
|
||||
make install && \
|
||||
strip $self_dir/php-dist/bin/php
|
||||
strip $self_dir/php-dist/bin/php
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user