summaryrefslogtreecommitdiff
path: root/common/flatpak-exports.c
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2019-08-12 22:19:19 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2019-08-16 09:13:43 +0000
commite82efa8603a375d5b136f363318230a735254754 (patch)
treef70e8b030a03d329d327db9f4f8b58edbc26c6fb /common/flatpak-exports.c
parent61d4316043ffbce60d358b5b35c466ddc0594c06 (diff)
downloadflatpak-e82efa8603a375d5b136f363318230a735254754.tar.gz
Trim unused shared library linkages from the session helper
The org.freedesktop.Flatpak user D-Bus service isn't just used by flatpak(1) or applications running as Flatpaks. It's also used by toolbox(1) for similar reasons: * To keep various configuration files inside the container synchronized with the host * To let the container request certain commands to be run on the host The org.freedesktop.Flatpak D-Bus service itself doesn't need much in the way of dependencies, but inherits a lot of unused shared library linkages through the libflatpak-common.la convenience library. Removing these unused shared libraries reduces the footprint of toolbox(1) for those who care about such things. eg., Fedora CoreOS. This commit brings down the number of shared libraries to 19 from 62. Closes: #3052 Approved by: alexlarsson
Diffstat (limited to 'common/flatpak-exports.c')
-rw-r--r--common/flatpak-exports.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/flatpak-exports.c b/common/flatpak-exports.c
index 7a5694cc..8562712b 100644
--- a/common/flatpak-exports.c
+++ b/common/flatpak-exports.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2014-2018 Red Hat, Inc
+ * Copyright © 2014-2019 Red Hat, Inc
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -43,7 +43,7 @@
#include "flatpak-exports-private.h"
#include "flatpak-run-private.h"
#include "flatpak-proxy.h"
-#include "flatpak-utils-private.h"
+#include "flatpak-utils-base-private.h"
#include "flatpak-dir-private.h"
#include "flatpak-systemd-dbus-generated.h"
#include "flatpak-error.h"