Skip to content

Commit

Permalink
win installer: cleanup some opencv related files
Browse files Browse the repository at this point in the history
  • Loading branch information
oaubert committed Mar 1, 2021
1 parent 61ab3a3 commit 841a82a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/win_installer/_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ function cleanup_before {
"${MINGW_ROOT}"/bin/gtk-update-icon-cache-3.0.exe \
"${MINGW_ROOT}"/share/icons/Adwaita

# OpenCV depends on a lot of things, that we do not use
# and some of them are quite heavy
rm -Rf "${MINGW_ROOT}/share/OGRE/"
rm -Rf "${MINGW_ROOT}/bin/libopenblas.dll"

# remove some gtk demo icons
find "${MINGW_ROOT}"/share/icons/hicolor -name "gtk3-*" -exec rm -f {} \;
"${MINGW_ROOT}"/bin/gtk-update-icon-cache-3.0.exe \
Expand Down

0 comments on commit 841a82a

Please sign in to comment.