Skip to content

Commit

Permalink
Fix avif support for self-hosted runners with gd
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 16, 2024
1 parent da401e7 commit e255838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ setup_libraries() {
libraries=$1
if [[ -n "${libraries// /}" ]]; then
libraries=$(filter_libraries "$libraries")
[[ "$libraries" = *libgd* ]] && libraries="$libraries libavif[0-9]*$"
if [[ -n "${libraries// /}" ]]; then
step_log "Setup libraries"
IFS=' ' read -r -a libraries_array <<<"$libraries"
Expand Down

0 comments on commit e255838

Please sign in to comment.