fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from sys import argv
|
||||
from shutil import copy
|
||||
|
||||
copy(argv[1], argv[2])
|
||||
@@ -0,0 +1,6 @@
|
||||
extern int foo(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return foo();
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
project('foo', 'c')
|
||||
|
||||
symlinked_subproject = subproject('symlinked_subproject').get_variable('dep')
|
||||
|
||||
executable('foo',
|
||||
sources : 'main.c',
|
||||
dependencies : symlinked_subproject
|
||||
)
|
||||
|
||||
custom_target(
|
||||
input : symlinked_subproject.get_variable('datadir') / 'datafile',
|
||||
output : 'datafile_copy',
|
||||
command : [find_program('cp.py'), '@INPUT@', '@OUTPUT@'],
|
||||
build_always : true
|
||||
)
|
||||
+1
@@ -0,0 +1 @@
|
||||
hello meson
|
||||
+1
@@ -0,0 +1 @@
|
||||
install_data('datafile')
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
project('symlinked_subproject', 'c', version : '1.0.0')
|
||||
|
||||
dep = declare_dependency(
|
||||
sources : 'src.c',
|
||||
variables : {
|
||||
'datadir': meson.current_source_dir() / 'datadir'
|
||||
}
|
||||
)
|
||||
|
||||
subdir('datadir')
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
int foo(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user