gnu: hostapd: Use PKG-CONFIG-FOR-TARGET.

* gnu/packages/admin.scm (hostapd)[arguments]: Use PKG-CONFIG-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-16 01:00:02 +01:00
parent 07efa9df3e
commit 3b3a4544a1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -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"))