Subject: Re: [bug#28444] [PATCH 3/3] build-system: Add 'meson-build-system'.

From: [email-masked] (Ludovic Courtès)
Date: Sun, 17 Sep 2017 21:21:23 +0200

Heya,

Peter Mikkelsen <[email-masked]> skribis:

> I just tried building nautilus 3.26.0 and without the shrinking done,
> the nautilus binary has the following rpath:
>
>
> And with shrinking this:
>
>
> This means that the following directories are unneeded but still in
> the RUNPATH for some reason:
>
> /gnu/store/13980g3067dcx7hw6m766qlhagj1vfck-libarchive-3.3.1/lib:/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib

Interesting.  Do you see in the build log where it comes from?  There
are two ways an entry can be added to the RUNPATH: (1) via an explicit
“-Wl,-rpath” flag, or (2) via “-lfoo”, which ld-wrapper converts to
“-lfoo -Wl,-rpath=…”.

Thanks for investigating!

Ludo’.