From 499d9f39a52276fabe81c5a2914163df9a89d937 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 12 Sep 2017 09:34:49 +0100 Subject: [PATCH] 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 --- plugins/dfu/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/dfu/meson.build b/plugins/dfu/meson.build index fa43a62e5..b730030e3 100644 --- a/plugins/dfu/meson.build +++ b/plugins/dfu/meson.build @@ -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 )