From 7c3f91310ffc8148e1aa01e2bad77af0fea608f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Angelovi=C4=8D?= Date: Wed, 8 May 2019 23:54:32 +0200 Subject: [PATCH] Improve docs on steps needed to build libsystemd --- docs/using-sdbus-c++.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/using-sdbus-c++.md b/docs/using-sdbus-c++.md index 4630e7a..3af1b33 100644 --- a/docs/using-sdbus-c++.md +++ b/docs/using-sdbus-c++.md @@ -65,9 +65,11 @@ Fortunately, libsystemd is rather self-contained and can be built and used indep $ git clone https://github.com/systemd/systemd $ cd systemd $ git checkout v242 # or any other recent stable version -$ meson build/ # solve systemd dependencies if any pop up, e.g. libmount-dev, libcap, librt... -$ ninja -C build version.h -$ ninja -C build libsystemd.so.0.26.0 # or another version number depending which systemd version you have +$ mkdir build +$ cd build +$ meson --buildtype=release .. # solve systemd dependencies if any pop up, e.g. libmount-dev, libcap, librt... +$ ninja version.h # building version.h target is only necessary in systemd version >= 241 +$ ninja libsystemd.so.0.26.0 # or another version number depending which systemd version you have # finally, manually install the library, header files and libsystemd.pc pkgconfig file ```