File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -681,6 +681,19 @@ _tkinter:
681
681
links :
682
682
- tcl8.6
683
683
- tk8.6
684
+ links-conditional :
685
+ - name : X11
686
+ targets :
687
+ - .*-unknown-linux-.*
688
+ build-mode : static
689
+ - name : xcb
690
+ targets :
691
+ - .*-unknown-linux-.*
692
+ build-mode : static
693
+ - name : Xau
694
+ targets :
695
+ - .*-unknown-linux-.*
696
+ build-mode : static
684
697
685
698
_tokenize :
686
699
minimum-python-version : " 3.11"
Original file line number Diff line number Diff line change 69
69
"properties" : {
70
70
"name" : {"type" : "string" },
71
71
"targets" : {"type" : "array" , "items" : {"type" : "string" }},
72
+ "build-mode" : {"type" : "string" },
72
73
},
73
74
"additionalProperties" : False ,
74
75
},
@@ -535,7 +536,12 @@ def derive_setup_local(
535
536
python_version , entry .get ("maximum-python-version" , "100.0" )
536
537
)
537
538
538
- if target_match and (python_min_match and python_max_match ):
539
+ if build_mode := entry .get ("build-mode" ):
540
+ build_mode_match = section == build_mode
541
+ else :
542
+ build_mode_match = True
543
+
544
+ if target_match and python_min_match and python_max_match and build_mode_match :
539
545
if source := entry .get ("source" ):
540
546
line += f" { source } "
541
547
for source in entry .get ("sources" , []):
You can’t perform that action at this time.
0 commit comments