1

remaining linker_version_scripts cleanup

This was missed in #30
This commit is contained in:
Motiejus Jakštys 2023-04-24 14:31:37 +03:00 committed by Motiejus Jakštys
parent 1f50f76cc6
commit 9e7efd9a1b

View File

@ -31,8 +31,6 @@ def declare_cc_toolchains(os, zig_sdk_path):
dynamic_library_linkopts = target_config.dynamic_library_linkopts
copts = target_config.copts
linkopts = []
for s in getattr(target_config, "linker_version_scripts", []):
linkopts = ["-Wl,--version-script,%s/%s" % (zig_sdk_path, s)]
# We can't pass a list of structs to a rule, so we use json encoding.
artifact_name_patterns = getattr(target_config, "artifact_name_patterns", [])