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,20 @@
#if defined _WIN32
#define DLL_PUBLIC __declspec(dllexport)
#else
#if defined __GNUC__
#define DLL_PUBLIC __attribute__ ((visibility("default")))
#else
#pragma message ("Compiler does not support symbol visibility.")
#define DLL_PUBLIC
#endif
#endif
void DLL_PUBLIC liba_func() {
}
#ifdef MORE_EXPORTS
void DLL_PUBLIC libb_func() {
}
#endif
@@ -0,0 +1,11 @@
project('lib1', ['c'])
c_args = []
# Microsoft's compiler is quite smart about touching import libs on changes,
# so ensure that there is actually a change in symbols.
if get_option('more_exports')
c_args += '-DMORE_EXPORTS'
endif
a = library('test-lib', 'lib.c', c_args: c_args, install: true)
@@ -0,0 +1 @@
option('more_exports', type : 'boolean', value : false)