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

Commit fa59290

Browse files
author
Simon Hofmann
committed
Fetched upstream, removed libs.js since it is no longer required
1 parent 22575bb commit fa59290

File tree

2 files changed

+5
-27
lines changed

2 files changed

+5
-27
lines changed

binding.gyp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
"targets": [{
33
"target_name": "opencv4nodejs",
44
"defines": [
5-
"<!@(node ./lib/defines.js)",
5+
"<!@(node ./install/parseEnv.js OPENCV4NODEJS_DEFINES)",
66
],
77
"include_dirs" : [
8+
"<!@(node ./install/parseEnv.js OPENCV4NODEJS_INCLUDES)",
89
"<!@(node ./lib/includes.js)",
910
"cc",
1011
"cc/core",
1112
"<!(node -e \"require('nan')\")",
1213
"<!(node -e \"require('native-node-utils')\")"
1314
],
1415
"libraries": [
15-
"<!@(node ./lib/libs.js)"
16+
"<!@(node ./install/parseEnv.js OPENCV4NODEJS_LIBRARIES)",
1617
],
1718
"sources": [
1819
"cc/opencv4nodejs.cc",
@@ -41,6 +42,7 @@
4142
"cc/io/VideoWriter.cc",
4243
"cc/photo/photo.cc",
4344
"cc/photo/photoConstants.cc",
45+
"cc/photo/MatPhoto.cc",
4446
"cc/video/video.cc",
4547
"cc/video/BackgroundSubtractor.cc",
4648
"cc/video/BackgroundSubtractorMOG2.cc",
@@ -174,7 +176,7 @@
174176
"ldflags": ["--coverage"]
175177
},
176178
}
177-
},
179+
},
178180
{
179181
"target_name": "action_before_build",
180182
"type": "none",

lib/libs.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)