Skip to content

Commit

Permalink
spritesheet resource should probably be a subpackage
Browse files Browse the repository at this point in the history
but we need to workaround ziglang/zig#855
  • Loading branch information
thejoshwolfe committed Mar 18, 2019
1 parent 00ec2a8 commit b935a84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ fn make_binary_variant(b: *Builder, build_options: builtin.Mode, name: []const u
if (!headless) {
exe.linkSystemLibrary("SDL2");
exe.linkSystemLibrary("c");
// FIXME: workaround https://github.com/ziglang/zig/issues/855
exe.setMainPkgPath(".");
} else {
// TODO: only used for malloc
exe.linkSystemLibrary("c");
Expand Down

0 comments on commit b935a84

Please sign in to comment.