diff --git a/src/util/dep_type.zig b/src/util/dep_type.zig index adf4b0cb41e70962ac209e206c2682dd0b37f961..61acc12a22aec618e0c33d4456f78af87a994e5a 100644 --- a/src/util/dep_type.zig +++ b/src/util/dep_type.zig @@ -13,6 +13,7 @@ pub const DepType = enum { .system_lib => {}, .git => { _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); + _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"}); }, .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, }