diff --git a/.gitignore b/.gitignore index 4628f9d..b1252a2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ packaging/opencv-em packaging/opencv.js packaging/opencv_js.js packaging/opencv-em-*.zip -packaging/opencv.js-*.zip +packaging/opencv-js-*.zip packaging/build_wasm diff --git a/build.sh b/build.sh index 6efb947..40c4114 100755 --- a/build.sh +++ b/build.sh @@ -33,7 +33,11 @@ do done BUILD_HOME="${OURDIR}/opencv/build_wasm" +if [ $BUILD_PYTHON ] ; then +BUILD_NAME="opencv-js" +else BUILD_NAME="opencv-em" +fi VERSION="4.5.0-emcc-3.1.26" BUILD_NAME_VERSION=${BUILD_NAME}-${VERSION}