Skip to content

Commit

Permalink
fix(build): fix failure when building brotli 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JCMais committed Dec 8, 2024
1 parent 451e5e9 commit 26a568a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/ci/build-brotli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ else
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=$build_folder/lib

make

# static libraries are built with -static suffix, remove it
for filename in $build_folder/lib/*.a; do
mv $filename $(echo "$filename" | sed "s/-static//g")
done
fi


cp -r $2/source/$1/c/include $build_folder/include

# static libraries are built with -static suffix, remove it
# also remove the dynamic ones, so they are not used
for filename in $build_folder/lib/*.a; do
mv $filename $(echo "$filename" | sed "s/-static//g")
done

# remove the dynamic ones, so they are not used
find $build_folder/lib/ -not -type d -not -name '*.a' -delete

0 comments on commit 26a568a

Please sign in to comment.