summary refs log tree commit diff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-01-16 01:00:02 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2022-01-16 01:00:00 +0100
commit3b3a4544a1c1f21c514c9cfff44c0984c2c873bb (patch)
treed7dc1e5d0b6d486e77fd4690dab237a25382b9ba /gnu/packages/admin.scm
parent07efa9df3e2ba45a410898f2baca01121d5fa6f8 (diff)
downloadguix-3b3a4544a1c1f21c514c9cfff44c0984c2c873bb.tar.gz
gnu: hostapd: Use PKG-CONFIG-FOR-TARGET.
* gnu/packages/admin.scm (hostapd)[arguments]: Use PKG-CONFIG-FOR-TARGET.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 1 insertions, 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"))