From 3b3a4544a1c1f21c514c9cfff44c0984c2c873bb Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 16 Jan 2022 01:00:02 +0100 Subject: gnu: hostapd: Use PKG-CONFIG-FOR-TARGET. * gnu/packages/admin.scm (hostapd)[arguments]: Use PKG-CONFIG-FOR-TARGET. --- gnu/packages/admin.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index a9ef4a073f..5ebfe433f9 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2041,9 +2041,7 @@ command.") (lambda _ (substitute* "src/drivers/drivers.mak" (("pkg-config") - (or (which "pkg-config") - (string-append ,(%current-target-system) - "-pkg-config")))))) + ,(pkg-config-for-target))))) (add-after 'install 'install-man-pages (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- cgit 1.4.1