Skip to content

Commit bc887fb

Browse files
committed
Set MACOSX_DEPLOYMENT_TARGET to 10.9 for Mojave
avoid error "ld: library not found for -lstdc++" see opencv/opencv#8588
1 parent 7977376 commit bc887fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

binding.gyp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
"-std=c++11",
129129
"-stdlib=libc++"
130130
],
131-
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
131+
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
132+
"MACOSX_DEPLOYMENT_TARGET": "10.9"
132133
},
133134

134135
"conditions": [

0 commit comments

Comments
 (0)