fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
project('jslib', 'c')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
sf_dep = cc.find_library('somefuncs.js', dirs: meson.current_source_dir())
|
||||
|
||||
executable('libcallc', 'prog.c',
|
||||
dependencies: sf_dep)
|
||||
@@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
#include <emscripten.h>
|
||||
|
||||
extern void sample_function();
|
||||
|
||||
int main() {
|
||||
printf("Hello World\n");
|
||||
// sampleFunction(); ????
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
mergeInto(LibraryManager.library, {
|
||||
sample_function__sig: 'v',
|
||||
sample_function: function() {
|
||||
alert("Something happened!");
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user