mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 18:35:38 +00:00

This drops the requirement on us being so strict on a particular ABI version, and also more strongly discourages out of tree plugin development. We should still strive to keep API stable, and as such keep a symbol map still. Use rpath instead for the static plugins, and set the plugin install directory to just fwupd-$ABI$ as we're storing more than just plugins here now.
54 lines
938 B
Meson
54 lines
938 B
Meson
if hsi
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxSwap"']
|
|
|
|
shared_module('fu_plugin_linux_swap',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-linux-swap.c',
|
|
'fu-linux-swap.c',
|
|
],
|
|
include_directories: [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install: true,
|
|
install_dir: plugin_dir,
|
|
link_with: [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args: cargs,
|
|
dependencies: [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
|
|
if get_option('tests')
|
|
e = executable(
|
|
'linux-swap-self-test',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-self-test.c',
|
|
'fu-linux-swap.c',
|
|
],
|
|
include_directories: [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
dependencies: [
|
|
plugin_deps,
|
|
],
|
|
link_with: [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
install: true,
|
|
install_rpath: plugin_dir,
|
|
install_dir: installed_test_bindir,
|
|
)
|
|
test('linux-swap-self-test', e) # added to installed-tests
|
|
endif
|
|
endif
|