File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -87,12 +87,11 @@ fn main() {
87
87
let target = getenv_unwrap ( "TARGET" ) ;
88
88
let mut framework_dirs = vec ! [ ] ;
89
89
90
- if cfg ! ( target_os = "macos" ) || cfg ! ( target_os = "ios" ) {
91
- let ( mut addon_include_dirs, mut addon_framework_dirs) =
92
- cc_system_include_dirs ( ) . expect ( "get system include directories from cc failed" ) ;
93
- includes. append ( & mut addon_include_dirs) ;
94
- framework_dirs. append ( & mut addon_framework_dirs) ;
95
- }
90
+ let ( mut addon_include_dirs, mut addon_framework_dirs) =
91
+ cc_system_include_dirs ( ) . expect ( "get system include directories from cc failed" ) ;
92
+ includes. append ( & mut addon_include_dirs) ;
93
+ framework_dirs. append ( & mut addon_framework_dirs) ;
94
+
96
95
run_bindgen_for_c_headers (
97
96
& target,
98
97
& includes,
You can’t perform that action at this time.
0 commit comments