From cc9977da037e556c2608f7e5fc38c0016675bb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariano=20Gim=C3=A9nez?= Date: Fri, 2 Feb 2024 18:03:16 +0100 Subject: [PATCH] docs/MINIMAL_BUILDS: remove last sentence due to missing link http://kdzbn.homelinux.net/libcap-add-pkg-config.patch This link is a 404, so we removed the whole sentence. --- docs/MINIMAL_BUILDS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MINIMAL_BUILDS.md b/docs/MINIMAL_BUILDS.md index faa4f2de07d..87e93eff738 100644 --- a/docs/MINIMAL_BUILDS.md +++ b/docs/MINIMAL_BUILDS.md @@ -15,4 +15,4 @@ For some uses the configure switches do not provide sufficient modularity. For e 2. If you want to reduce the build time dependencies (though only dbus and libcap are needed as build time deps) and you know the specific component you are interested in doesn't need it, then create a dummy .pc file for that dependency (i.e. basically empty), and configure systemd with PKG_CONFIG_PATH set to the path of these dummy .pc files. Then, build only the few bits you need with "make foobar", where foobar is the file you need. We are open to merging patches for the build system that make more "fringe" components of systemd optional. However, please be aware that in order to keep the complexity of our build system small and its readability high, and to make our lives easier, we will not accept patches that make the minimal core components optional, i.e. systemd itself, journald and udevd. -Note that the .pc file trick mentioned above currently doesn't work for libcap, since libcap doesn't provide a .pc file. We invite you to go ahead and post a patch to libcap upstream to get this corrected. We'll happily change our build system to look for that .pc file then. (a .pc file has been sent to upstream by Bryan Kadzban. It is also available at [http://kdzbn.homelinux.net/libcap-add-pkg-config.patch](http://kdzbn.homelinux.net/libcap-add-pkg-config.patch)). +Note that the .pc file trick mentioned above currently doesn't work for libcap, since libcap doesn't provide a .pc file. We invite you to go ahead and post a patch to libcap upstream to get this corrected. We'll happily change our build system to look for that .pc file then. (a .pc file has been sent to upstream by Bryan Kadzban).