fix: noconfirm auto-selects first AUR match
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
project('variables-zero-length-value-test', 'c', version : '1.0')
|
||||
|
||||
pkgg = import('pkgconfig')
|
||||
lib = shared_library('simple', 'simple.c')
|
||||
libver = '1.0'
|
||||
h = install_headers('simple.h')
|
||||
|
||||
pkgg.generate(
|
||||
libraries : [lib, '-lz'],
|
||||
subdirs : '.',
|
||||
version : libver,
|
||||
name : 'libsimple',
|
||||
filebase : 'simple',
|
||||
description : 'A simple demo library.',
|
||||
variables : [ 'key=' ]
|
||||
)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
#include"simple.h"
|
||||
|
||||
int simple_function() {
|
||||
return 42;
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#ifndef SIMPLE_H_
|
||||
#define SIMPLE_H_
|
||||
|
||||
int simple_function();
|
||||
|
||||
#endif
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/47 pkgconfig variables zero length value/meson.build:8:5: ERROR: pkgconfig.generate keyword argument \"variables\" empty variable value"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user