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:
Richard Hughes 2017-09-12 09:34:49 +01:00
parent 4d3025a108
commit 499d9f39a5

View File

@ -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
)