We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6f7649 commit e104766Copy full SHA for e104766
build-static.sh
@@ -35,9 +35,15 @@ fi
35
if [ -z "${SPC_OPT_BUILD_ARGS}" ]; then
36
SPC_OPT_BUILD_ARGS="--debug"
37
fi
38
+# init spc libc
39
+if [ -z "${SPC_LIBC}" ]; then
40
+ if [ "${os}" = "linux" ]; then
41
+ SPC_LIBC="musl"
42
+ fi
43
+fi
44
# init spc download additional args
45
if [ -z "${SPC_OPT_DOWNLOAD_ARGS}" ]; then
- if [ "${os}" = "linux" ] && [ "${SPC_LIBC}" = "glibc" ]; then
46
+ if [ "${SPC_LIBC}" = "glibc" ]; then
47
SPC_OPT_DOWNLOAD_ARGS="--debug --ignore-cache-sources=php-src"
48
else
49
SPC_OPT_DOWNLOAD_ARGS="--prefer-pre-built --debug --ignore-cache-sources=php-src"
0 commit comments