mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-12 00:54:23 +00:00

A harmless error shows up in debian packages at build time: ``` dpkg-shlibdeps: warning: cannot find library libfwupdplugin.so needed by debian/fwupd/usr/lib/x86_64-linux-gnu/fwupd-1.8.6/libfu_plugin_flashrom.so (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') ``` This doesn't cause a functional problem because libfwupdplugin has already been loaded by the daemon by the time these libraries are loaded. In case the `dpkg-shlibdeps` checker becomes more stringent in the future fix the warning.
28 lines
617 B
Meson
28 lines
617 B
Meson
if get_option('plugin_flashrom').enabled() or \
|
|
(get_option('plugin_flashrom').auto() and libflashrom.found())
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginFlashrom"']
|
|
|
|
plugin_quirks += files('flashrom.quirk')
|
|
|
|
shared_module('fu_plugin_flashrom',
|
|
sources: [
|
|
'fu-flashrom-device.c',
|
|
'fu-flashrom-plugin.c',
|
|
'fu-flashrom-cmos.c',
|
|
],
|
|
include_directories: plugin_incdirs,
|
|
install: true,
|
|
install_rpath: libdir_pkg,
|
|
install_dir: libdir_pkg,
|
|
link_with: plugin_libs,
|
|
c_args: [
|
|
cargs,
|
|
'-DLOCALSTATEDIR="' + localstatedir + '"',
|
|
],
|
|
dependencies: [
|
|
plugin_deps,
|
|
libflashrom,
|
|
],
|
|
)
|
|
endif
|