fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
prefix=/foo
|
||||
libdir=${prefix}/dummy
|
||||
|
||||
Name: dummy
|
||||
Description: Nonexisting lib but add an rpath
|
||||
Version: 1.0.0
|
||||
Libs: -Wl,-rpath,${libdir}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
project('build rpath', 'c', 'cpp')
|
||||
|
||||
subdir('sub')
|
||||
pkgconf_dep = dependency('dummy')
|
||||
|
||||
executable('prog', 'prog.c',
|
||||
dependencies : pkgconf_dep,
|
||||
link_with : l,
|
||||
build_rpath : '/foo/bar',
|
||||
install_rpath : '/baz',
|
||||
install : true,
|
||||
)
|
||||
|
||||
executable('progcxx', 'prog.cc',
|
||||
dependencies : pkgconf_dep,
|
||||
link_with : l,
|
||||
build_rpath : '/foo/bar',
|
||||
install_rpath : 'baz',
|
||||
install : true,
|
||||
)
|
||||
@@ -0,0 +1,5 @@
|
||||
int get_stuff();
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return get_stuff();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
std::string* s = new std::string("Hello");
|
||||
delete s;
|
||||
return 0;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
l = shared_library('stuff', 'stuff.c')
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
int get_stuff() {
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user