mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 14:32:56 +00:00
Fix a GObject registration problem on Debian
Do not link the static library with libfwupdprivate, instead do it in the target executable. Fixes https://github.com/hughsie/fwupd/issues/244
This commit is contained in:
parent
4d3025a108
commit
499d9f39a5
@ -31,9 +31,6 @@ dfu = static_library(
|
||||
include_directories('../../libfwupd'),
|
||||
include_directories('../../src'),
|
||||
],
|
||||
link_with : [
|
||||
libfwupdprivate,
|
||||
],
|
||||
)
|
||||
|
||||
shared_module('fu_plugin_dfu',
|
||||
@ -106,6 +103,7 @@ if get_option('enable-tests')
|
||||
link_with : [
|
||||
dfu,
|
||||
fwupd,
|
||||
libfwupdprivate,
|
||||
],
|
||||
c_args : cargs
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user