Subject: Re: [PATCH 4/5] meson.build: correct setting of GIT_EXEC_PATH

From: Junio C Hamano <[email-masked]>
Date: Thu, 08 May 2025 14:55:31 -0700

Ramsay Jones <[email-masked]> writes:

>  if get_option('runtime_prefix')
>    libgit_c_args += '-DRUNTIME_PREFIX'
>    build_options_config.set('RUNTIME_PREFIX', 'true')
> -  git_exec_path = get_option('libexecdir') / 'git-core'
> +
> +  if git_exec_path.startswith('/')
> +    error('runtime_prefix requires a relative libexecdir not:', libexec)
> +  endif

Certainly nice to see these settings taught to be more careful.

Thanks.