doc: Improve ‘fix-runpath’ description.

* doc/guix.texi (Build Systems): Re-write ‘fix-runpath’ documentation
entirely.  Just fixing the typos didn't do much.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-20 21:36:17 +01:00
parent 89a2647816
commit 782c94fe30
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 7 deletions

View File

@ -40,7 +40,7 @@ Copyright @copyright{} 2017 Christopher Allan Webber@*
Copyright @copyright{} 2017 Marius Bakke@* Copyright @copyright{} 2017 Marius Bakke@*
Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Hartmut Goebel@*
Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017 Maxim Cournoyer@*
Copyright @copyright{} 2017 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@*
Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 George Clemmer@*
Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017 Andy Wingo@*
Copyright @copyright{} 2017 Arun Isaac@* Copyright @copyright{} 2017 Arun Isaac@*
@ -4005,12 +4005,12 @@ Apart from that, the build system also adds the following phases:
@table @code @table @code
@item fix-runpath @item fix-runpath
This phase tries to locate the local directories in the package being build, This phase ensures that all binaries can find the libraries they need.
which has libraries that some of the binaries need. If any are found, they will It searches for required libraries in subdirectories of the package being
be added to the programs @code{RUNPATH}. It is needed because built, and adds those to @code{RUNPATH} where needed. It also removes
@code{meson-for-build} keeps the @code{RUNPATH} of binaries and libraries from references to libraries left over from the build phase by
when they are build, but often that is not the @code{RUNPATH} we want. @code{meson-for-build}, such as test dependencies, that aren't actually
Therefor it is also shrinked to the minimum needed by the program. required for the program to run.
@item glib-or-gtk-wrap @item glib-or-gtk-wrap
This phase is the phase provided by @code{glib-or-gtk-build-system}, and it This phase is the phase provided by @code{glib-or-gtk-build-system}, and it