File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1574,7 +1574,11 @@ def _create_shared_native_deps_dso(
1574
1574
feature_configuration ,
1575
1575
requested_features ,
1576
1576
cc_toolchain ):
1577
- linkstamps = py_internal .linking_context_linkstamps (cc_info .linking_context )
1577
+ linkstamps = [
1578
+ py_internal .linkstamp_file (linkstamp )
1579
+ for linker_input in cc_info .linking_context .linker_inputs .to_list ()
1580
+ for linkstamp in linker_input .linkstamps
1581
+ ]
1578
1582
1579
1583
partially_disabled_thin_lto = (
1580
1584
cc_common .is_enabled (
@@ -1598,10 +1602,7 @@ def _create_shared_native_deps_dso(
1598
1602
for input in cc_info .linking_context .linker_inputs .to_list ()
1599
1603
for flag in input .user_link_flags
1600
1604
],
1601
- linkstamps = [
1602
- py_internal .linkstamp_file (linkstamp )
1603
- for linkstamp in linkstamps .to_list ()
1604
- ],
1605
+ linkstamps = linkstamps ,
1605
1606
build_info_artifacts = _get_build_info (ctx , cc_toolchain ) if linkstamps else [],
1606
1607
features = requested_features ,
1607
1608
is_test_target_partially_disabled_thin_lto = is_test and partially_disabled_thin_lto ,
You can’t perform that action at this time.
0 commit comments