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 @@
#pragma once
int entity_func1(void);
int entity_func2(void);
@@ -0,0 +1,9 @@
#include"entity.h"
#ifdef USING_ENT
#error "Entity use flag leaked into entity compilation."
#endif
int entity_func1(void) {
return 5;
}
@@ -0,0 +1,5 @@
#include<entity.h>
int entity_func2(void) {
return 9;
}
@@ -0,0 +1,10 @@
entity_lib = static_library('entity', 'entity1.c')
entity_dep = declare_dependency(link_with : [[entity_lib]],
include_directories : [['.']],
sources : 'entity2.c',
compile_args : ['-DUSING_ENT=1'],
version : '1.2.3',
link_args : []) # No simple way of testing linker flags :(.
assert(entity_dep.version().version_compare('==1.2.3'), 'Declare_dep has incorrect version string.')