Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit f227aa4

Browse files
author
Simon Hofmann
committed
Removed autobuild check
1 parent c20c4b3 commit f227aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cv.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const path = require('path');
22
const opencvBuild = require(`@nut-tree/opencv-build-${process.platform}`);
3-
const { resolvePath, linkSystemLibs } = require('./commons');
3+
const { resolvePath } = require('./commons');
44

55
// ensure binaries are added to path on windows
6-
if (!linkSystemLibs() || process.platform === 'win32') {
6+
if (process.platform === 'win32') {
77
// append opencv binary path to node process
88
if (!process.env.path.includes(opencvBuild.opencvBinDir)) {
99
process.env.path = `${process.env.path};${opencvBuild.opencvBinDir};`

0 commit comments

Comments
 (0)