fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,4 @@
project('promotion test', 'c')
subproject('s1')
subproject('s2')
@@ -0,0 +1,7 @@
project('s1', 'c')
sc = subproject('scommon')
s3 = subproject('s3')
executable('s1', 's1.c',
link_with : [sc.get_variable('clib'), s3.get_variable('l')])
@@ -0,0 +1,6 @@
int func();
int func2();
int main(int argc, char **argv) {
return func() + func2();
}
@@ -0,0 +1,3 @@
project('s3', 'c')
l = static_library('s3', 's3.c')
@@ -0,0 +1,3 @@
int func2() {
return -42;
}
@@ -0,0 +1,3 @@
project('scommon', 'c')
clib = static_library('scommon', 'scommon_broken.c')
@@ -0,0 +1 @@
#error This file must not be used. The other scommon one should be instead.
@@ -0,0 +1,5 @@
project('s2', 'c')
sc = subproject('scommon')
executable('s2', 's2.c', link_with : sc.get_variable('clib'))
@@ -0,0 +1,6 @@
int func();
int main(int argc, char **argv) {
return func() != 42;
}
@@ -0,0 +1,3 @@
project('scommon', 'c')
clib = static_library('scommon', 'scommon_ok.c')