mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-25 06:35:47 +00:00
add an rpath to things not compiled into a library
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.
This commit is contained in:
parent
367b684e0b
commit
15c9cac1b0
@ -12,6 +12,7 @@ shared_module('fu_plugin_flashrom',
|
||||
],
|
||||
include_directories: plugin_incdirs,
|
||||
install: true,
|
||||
install_rpath: libdir_pkg,
|
||||
install_dir: libdir_pkg,
|
||||
link_with: plugin_libs,
|
||||
c_args: [
|
||||
|
@ -25,6 +25,7 @@ shared_module('fu_plugin_modem_manager',
|
||||
],
|
||||
include_directories: plugin_incdirs,
|
||||
install: true,
|
||||
install_rpath: libdir_pkg,
|
||||
install_dir: libdir_pkg,
|
||||
c_args: cargs,
|
||||
link_with: plugin_libs,
|
||||
|
@ -86,6 +86,7 @@ fwupdutil = library(
|
||||
systemd_src,
|
||||
],
|
||||
install: true,
|
||||
install_rpath: libdir_pkg,
|
||||
install_dir: libdir_pkg,
|
||||
include_directories: [
|
||||
root_incdir,
|
||||
@ -197,6 +198,7 @@ fwupdengine = library(
|
||||
resources_src,
|
||||
sources: fwupd_engine_src,
|
||||
install: true,
|
||||
install_rpath: libdir_pkg,
|
||||
install_dir: libdir_pkg,
|
||||
include_directories: plugin_incdirs,
|
||||
dependencies: [
|
||||
|
Loading…
Reference in New Issue
Block a user