Subject: [bug#54595] [PATCH 2/2] gnu: libfido2: Fix cross-compilation.

From: Maxime Devos <[email-masked]>
Date: Sun, 27 Mar 2022 14:36:50 +0200

Sébastien Lerique schreef op zo 27-03-2022 om 21:29 [+0900]:
> +                                                            ,(%current-target-system)
> +                                                            "-pkg-config"))))

This can be simplified with 'pkg-config-for-target':

  #:configure-flags
  (list (string-append "-DPKG_CONFIG_EXECUTABLE="
                       (search-input-file %build-inputs
                                          (string-append "/bin/" ,(pkg-config-for-target)))))

Greetings,
Maxime.