Skip to content

Commit

Permalink
Fix target on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Nov 11, 2022
1 parent 6f3b356 commit 97b1834
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2,239 deletions.
1 change: 1 addition & 0 deletions lib/cli/src/commands/create_exe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ impl CreateExe {
.arg(&format!("-l:{}", lib_filename))
// xcrun --show-sdk-path
// .arg("-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include")
.arg("-I/usr/include")
.arg(&format!("-I{}", include_dir.display()))
.arg(&format!("-I{}", header_code_path.display()));
if !zig_triple.contains("windows") {
Expand Down
Loading

0 comments on commit 97b1834

Please sign in to comment.