We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b61699 commit 6eaae9eCopy full SHA for 6eaae9e
meson.build
@@ -26,3 +26,20 @@ shared_module('libffi-side',
26
install_dir: get_option('libdir')
27
)
28
29
+# Static library for linking by dependent libraries
30
+libffi = static_library('ffi',
31
+ files('wasm/libffi_wasm_module.c'),
32
+ c_args: cargs,
33
+ install: true,
34
+ install_dir: get_option('libdir')
35
+)
36
+
37
+# Generate and install pkg-config file for glib dependency
38
+pkg = import('pkgconfig')
39
+pkg.generate(
40
+ name: 'libffi',
41
+ description: 'Foreign Function Interface library',
42
+ version: meson.project_version(),
43
+ libraries: '-lffi'
44
45
0 commit comments