Skip to content

Commit

Permalink
fix: zlib renaming worked, fixing jpeg arch symbols - added more disa…
Browse files Browse the repository at this point in the history
…bled to libwebp lib
  • Loading branch information
samuelOsborne committed Dec 4, 2024
1 parent da33bfa commit a3b3a1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .mac-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ file_path="${SCRIPT_DIR}/deps/modules/libwebp/CMakeLists.txt"
# Use sed to replace the specified lines
sed -i -e 's/option(WEBP_BUILD_ANIM_UTILS "Build animation utilities." ON)/option(WEBP_BUILD_ANIM_UTILS "Build animation utilities." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_GIF2WEBP "Build the gif2webp conversion tool." ON)/option(WEBP_BUILD_GIF2WEBP "Build the gif2webp conversion tool." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_IMG2WEBP "Build the img2webp animation tool." ON)/option(WEBP_BUILD_IMG2WEBP "Build the img2webp animation tool." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_CWEBP "Build the cwebp command line tool." ON)/option(WEBP_BUILD_CWEBP "Build the cwebp command line tool." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_DWEBP "Build the dwebp command line tool." ON)/option(WEBP_BUILD_DWEBP "Build the dwebp command line tool." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_VWEBP "Build the vwebp viewer tool." ON)/option(WEBP_BUILD_VWEBP "Build the vwebp viewer tool." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_WEBPINFO "Build the webpinfo command line tool." ON)/option(WEBP_BUILD_WEBPINFO "Build the webpinfo command line tool." OFF)/' "$file_path"
sed -i -e 's/option(WEBP_BUILD_WEBPMUX "Build the webpmux command line tool." ON)/option(WEBP_BUILD_WEBPMUX "Build the webpmux command line tool." OFF)/' "$file_path"

echo
echo "${WHITE}Setup completed!${NC}"
Expand Down

0 comments on commit a3b3a1c

Please sign in to comment.