Thanks, applied as cd37b00b302366a2044316967547cabd2c3f8d59.

Michael

[sent from post-receive hook]

On Wed, 08 Feb 2023 12:49:32 +0100, Philipp Zabel <[email protected]> 
wrote:
> Set the pkgconfig.relocatable option to let Meson generate .pc files
> that set a relative prefix, allowing installation at an arbitrary
> path.
> 
> This removes the need to mangle the prefix setting after the fact
> via scripts/lib/ptxd_make_world_install_mangle_pc.awk for Meson
> based packages.
> 
> Signed-off-by: Philipp Zabel <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
> index fd12a3462ae8..6d9b840cdc87 100644
> --- a/rules/pre/Rules.make
> +++ b/rules/pre/Rules.make
> @@ -258,6 +258,7 @@ CROSS_MESON_USR := \
>       -Dbackend=ninja \
>       -Dbuildtype=debugoptimized \
>       -Dlibdir=$(CROSS_LIB_DIR) \
> +     -Dpkgconfig.relocatable=true \
>       -Dprefix=/usr
>  
>  CROSS_MESON_ENV = \

Reply via email to