diff --git a/README.md b/README.md index 6047539..d488d8a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Make directory and init ```bash $ zig init -## add zon file boost-libraries-zig +## add in 'build.zig.zon' boost-libraries-zig package $ zig fetch --save=boost git+https://github.com/allyourcodebase/boost-libraries-zig ``` Add in **build.zig** @@ -32,7 +32,9 @@ pub fn build(b: *std.Build) !void { for(boost_artifact.root_module.include_dirs.items) |include_dir| { try exe.root_module.include_dirs.append(b.allocator, include_dir); } - exe.linklibrary(boost_artifact); + + // your build + [exe|lib].linkLibrary(boost_artifact); } ``` diff --git a/update_zon.sh b/update_zon.sh index 2bd7188..ed17aeb 100755 --- a/update_zon.sh +++ b/update_zon.sh @@ -34,6 +34,8 @@ GIT_URLS=( "git+https://github.com/boostorg/predef" "git+https://github.com/boostorg/preprocessor" "git+https://github.com/boostorg/align" + + ## Add more URLs here ) # Loop through each URL