Pass custom config file path as absolute

pull/19494/head
Mieszko Boczkowski 4 years ago
parent 7079e7ea5e
commit a3fb64d1cd
  1. 2
      platforms/js/build_js.py

@ -246,7 +246,7 @@ if __name__ == "__main__":
log.debug("Args: %s", args)
os.environ["OPENCV_JS_WHITELIST"] = args.config
os.environ["OPENCV_JS_WHITELIST"] = os.path.abspath(args.config)
if 'EMMAKEN_JUST_CONFIGURE' in os.environ:
del os.environ['EMMAKEN_JUST_CONFIGURE'] # avoid linker errors with NODERAWFS message then using 'emcmake' launcher

Loading…
Cancel
Save