Fix #9 (broken gyp build)

Adding the 'libraries' directive causes gyp to link opencv into the
addon.
This commit is contained in:
Felix Geisendörfer 2012-07-27 00:38:42 +02:00
parent 7272c1a9b5
commit 82694e5082

View File

@ -19,7 +19,10 @@
]
, "GCC_ENABLE_CPP_RTTI": "YES"
, "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
}
},
'libraries': [
'<!@(pkg-config --libs opencv)'
]
}, {
'cflags': [
'<!@(pkg-config --cflags opencv)'