Skip to content

Commit 01aadd4

Browse files
Merge pull request #249 from fakob/master
Add relative path to opencv-build/lib folder for linker
2 parents 2bede49 + 16a75bf commit 01aadd4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

binding.gyp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,16 @@
139139
"RuntimeLibrary": "2"
140140
},
141141
}
142-
}]
142+
}],
143+
["OS==\"mac\"",
144+
{
145+
"link_settings": {
146+
"libraries": [
147+
"-Wl,-rpath,@loader_path/../../../opencv-build/opencv/build/lib"
148+
],
149+
}
150+
}
151+
]
143152
],
144153

145154
"configurations": {

0 commit comments

Comments
 (0)