Skip to content

Commit 14787ce

Browse files
authored
fix: change search_dirs to use cc --print-search-dirs instead of clang --print-search-dirs (#697)
1 parent 76b0957 commit 14787ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrtc-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ fn configure_darwin_sysroot(builder: &mut cc::Build) {
324324
let sysroot = String::from_utf8_lossy(&sysroot.stdout);
325325
let sysroot = sysroot.trim();
326326

327-
let search_dirs = Command::new("clang").arg("--print-search-dirs").output().unwrap();
327+
let search_dirs = Command::new("cc").arg("--print-search-dirs").output().unwrap();
328328

329329
let search_dirs = String::from_utf8_lossy(&search_dirs.stdout);
330330
for line in search_dirs.lines() {

0 commit comments

Comments
 (0)