Skip to content

Commit 2ba90dc

Browse files
danoli3ofTheo
andauthored
Update opencv.sh fix emscripten - updated (#504)
* Update opencv.sh fix emscripten (cherry picked from commit 281bccc) * packing fixes --------- Co-authored-by: Theodore Watson <theo@openframeworks.cc>
1 parent 3939675 commit 2ba90dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apothecary/formulas/opencv/opencv.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FORMULA_DEPENDS=("zlib" "libpng" )
1111

1212
# define the version
1313
VER=4.11.0
14-
BUILD_ID=6
14+
BUILD_ID=7
1515
DEFINES=""
1616
FRAMEWORKS=""
1717
FILE_VERSION=4110
@@ -903,8 +903,8 @@ function copy() {
903903
cp -R modules/*/include/opencv2/* $1/include/opencv2/
904904
cp -v build_${TYPE}_${PLATFORM}/Release/lib/*.a $1/lib/$TYPE/$PLATFORM
905905
cp -v build_${TYPE}_${PLATFORM}/Release/lib/opencv4/3rdparty/*.a $1/lib/$TYPE/$PLATFORM
906+
rm $1/lib/$TYPE/$PLATFORM/libzlib.a
906907
secure "$1/lib/$TYPE/$PLATFORM/libopencv_core.a" "opencv.pkl" "$VERSION" "$DEFINES" "$BUILD_ID" "$FORMULA_DEPENDS"
907-
908908
fi
909909
cp -v LICENSE $1/license/
910910

0 commit comments

Comments
 (0)