diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-12 10:48:38 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-12 10:48:38 -0700 |
| commit | af4cc20ce275aeb0e59eee3d893b2f310c1f0239 (patch) | |
| tree | cc3ff8fa792c20ff0fc0f1e19e98998cc76c07c2 /src/glibc.cpp | |
| parent | 03a23418ff13e6ff64cdeed3ef4b54f99c533d88 (diff) | |
| parent | 9fe4c89230df2d78c8bf37b4b1d7a9bedb92677b (diff) | |
| download | zig-af4cc20ce275aeb0e59eee3d893b2f310c1f0239.tar.gz zig-af4cc20ce275aeb0e59eee3d893b2f310c1f0239.zip | |
Merge remote-tracking branch 'origin/master' into stage2-zig-cc
Master branch added in the concept of library versioning being optional
to main.cpp. It will need to be re-added into this branch before merging
back into master.
Diffstat (limited to 'src/glibc.cpp')
| -rw-r--r-- | src/glibc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glibc.cpp b/src/glibc.cpp index 2456cab44c..62f5604ba7 100644 --- a/src/glibc.cpp +++ b/src/glibc.cpp @@ -335,7 +335,7 @@ Error glibc_build_dummies_and_maps(CodeGen *g, const ZigGLibCAbi *glibc_abi, con bool is_ld = (strcmp(lib->name, "ld") == 0); CodeGen *child_gen = create_child_codegen(g, zig_file_path, OutTypeLib, nullptr, lib->name, progress_node); - codegen_set_lib_version(child_gen, lib->sover, 0, 0); + codegen_set_lib_version(child_gen, true, lib->sover, 0, 0); child_gen->is_dynamic = true; child_gen->is_dummy_so = true; child_gen->version_script_path = map_file_path; |
