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

Commit 221c45b

Browse files
author
Simon Hofmann
committed
Readded windows linking step
1 parent 0a27275 commit 221c45b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/libs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ if (linkSystemLibs()) {
1414
return;
1515
}
1616

17+
// get libs from auto build
18+
if (process.platform === 'win32') {
19+
linkLibs(opencvBuild.getLibs(resolvePath(opencvBuild.opencvLibDir)));
20+
return;
21+
}
22+
1723
// if not windows, link libs dynamically
1824
console.log(`-L${resolvePath(opencvLibDir)}`);
1925
opencvBuild.opencvModules.forEach(lib => console.log(`-lopencv_${lib}`));

0 commit comments

Comments
 (0)