mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Fix #9 (broken gyp build)
Adding the 'libraries' directive causes gyp to link opencv into the addon.
This commit is contained in:
parent
7272c1a9b5
commit
82694e5082
@ -19,7 +19,10 @@
|
||||
]
|
||||
, "GCC_ENABLE_CPP_RTTI": "YES"
|
||||
, "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
|
||||
}
|
||||
},
|
||||
'libraries': [
|
||||
'<!@(pkg-config --libs opencv)'
|
||||
]
|
||||
}, {
|
||||
'cflags': [
|
||||
'<!@(pkg-config --cflags opencv)'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user