Skip to content

Commit cac5b0f

Browse files
committed
Merge pull request opencv#19494 from derbosper:js-build-config-fix
2 parents 93783df + a3fb64d commit cac5b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/js/build_js.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def build_loader(self):
246246

247247
log.debug("Args: %s", args)
248248

249-
os.environ["OPENCV_JS_WHITELIST"] = args.config
249+
os.environ["OPENCV_JS_WHITELIST"] = os.path.abspath(args.config)
250250

251251
if 'EMMAKEN_JUST_CONFIGURE' in os.environ:
252252
del os.environ['EMMAKEN_JUST_CONFIGURE'] # avoid linker errors with NODERAWFS message then using 'emcmake' launcher

0 commit comments

Comments
 (0)