Skip to content

Commit 85a978f

Browse files
Marco Felschbith3ad
authored andcommitted
README: extend compile instructions
Signed-off-by: Marco Felsch <[email protected]>
1 parent 0618cf8 commit 85a978f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,22 @@ are in line with the DCO.
135135
Compiling Instructions
136136
----------------------
137137

138+
To compile ``platsch`` and ``libplatsch`` call:
139+
138140
.. code-block:: shell
139141
140142
meson setup build
141143
meson compile -C build
142144
143-
To ensure fast startup, ``platsch`` prefers using static libraries:
145+
This compiles ``platsch`` with all dependent libraries linked dynamically
146+
except for ``libplatsch`` which is always static linked.
147+
148+
To provide faster startup of ``platsch`` the dependent libraries can be linked
149+
static as well if available:
144150

145151
.. code-block:: shell
146152
147153
meson setup -Dprefer_static=true build
148154
meson compile -C build
155+
156+
Be aware that the size increases from ~50k to ~110k.

0 commit comments

Comments
 (0)