fix: noconfirm auto-selects first AUR match
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
project('New subproject on reconfigure')
|
||||
|
||||
subproject('foo', required: get_option('foo'))
|
||||
+1
@@ -0,0 +1 @@
|
||||
option('foo', type: 'feature', value: 'disabled')
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
void foo(void);
|
||||
void foo(void) {}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
project('foo', 'c')
|
||||
|
||||
# Ensure that builtin options have been initialised.
|
||||
assert(get_option('default_library') == 'shared')
|
||||
|
||||
# This uses default_library option internally and used to cause a crash:
|
||||
# https://github.com/mesonbuild/meson/issues/10225.
|
||||
library('foo', 'foo.c')
|
||||
Reference in New Issue
Block a user