Skip to content

Commit

Permalink
Merge pull request ikskuh#158 from paoda/master
Browse files Browse the repository at this point in the history
fix: only use sdl2 sub when cross-compiling
  • Loading branch information
ikskuh committed Mar 11, 2024
2 parents f10c8d2 + cd90212 commit 39fb835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Expand Up @@ -254,7 +254,7 @@ pub fn link(sdk: *Sdk, exe: *Compile, linkage: Compile.Linkage) void {

const b = sdk.build;
const target = exe.root_module.resolved_target.?;
const is_native = target.query.isNative();
const is_native = target.query.isNativeOs();

// This is required on all platforms
exe.linkLibC();
Expand Down

0 comments on commit 39fb835

Please sign in to comment.