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

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)