Skip to content

Commit af0d03c

Browse files
authored
Merge pull request #21 from flownative/task/bz2-ext
Enable bz2 PHP extension
2 parents a661144 + 608aacc commit af0d03c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

root-files/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ build_get_build_packages() {
6868
libwebp-dev
6969
libxml2-dev
7070
libzip-dev
71+
libbz2-dev
7172
"
7273
echo $packages
7374
}
@@ -86,6 +87,7 @@ build_get_runtime_packages() {
8687
libsodium-dev
8788
libssl1.1
8889
libzip4
90+
libbz2-1.0
8991
libncurses6
9092
9193
libsqlite3-0
@@ -172,6 +174,7 @@ build_compile_php() {
172174
--with-webp \
173175
--with-zip \
174176
--with-zlib \
177+
--with-bz2 \
175178
--without-pear \
176179
>$(debug_device)
177180
elif [[ "${PHP_VERSION}" =~ ^8.[0-1] ]]; then
@@ -204,6 +207,7 @@ build_compile_php() {
204207
--with-webp \
205208
--with-zip \
206209
--with-zlib \
210+
--with-bz2 \
207211
--without-pear \
208212
>$(debug_device)
209213
else

0 commit comments

Comments
 (0)