fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#ifdef _WIN32
|
||||
#define DO_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define DO_EXPORT
|
||||
#endif
|
||||
|
||||
DO_EXPORT int foo(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
meson.add_install_script('myinstall.py', 'this/does', 'something-different.dat')
|
||||
|
||||
afile = files('a file.txt')
|
||||
|
||||
mylib = shared_library('mylib', 'foo.c')
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
prefix = os.environ['MESON_INSTALL_DESTDIR_PREFIX']
|
||||
|
||||
dirname = os.path.join(prefix, sys.argv[1])
|
||||
|
||||
if not os.path.exists(dirname):
|
||||
os.makedirs(dirname)
|
||||
|
||||
with open(os.path.join(dirname, sys.argv[2] + '.in'), 'w') as f:
|
||||
f.write('')
|
||||
Reference in New Issue
Block a user